Discussion

Difference b/n Obj-Open and Obj-Refresh-and-Lock

What is difference between Obj-Open and Obj-Refresh-and-Lock
b'z we have an option Lock as parameter in Obj-Open methos
and also why Obj-List is deprecated. How is it performance effected with Obj-browse and Obj-Filter. Give some example

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 20, 2011 - 5:30am

http://pdn.pega.com/Devnet/PRPCv5/KB/25063.asp

March 22, 2011 - 1:49am

the above link shows the diff between obj-list and obj-list-view. But the question is for diff between obj-open and obj-open-lock
Can you please provide with example

thanks in advance

March 22, 2011 - 6:02am

Using Obj-Open method you can open any one instance of a particular class in a page (which is the step page for the method) based on certain criteria.

For Obj-Refresh-And-Lock you need the step page to be already populated with the data from any particular instance.When the method executes, it checks if the lock on the page (and hence the instance) is held by the current operator.If the instance is already locked by the current operator, the method has no effect.If the instance is locked by another user,this method fails and the lock information is populated in the LockInfo page provided as parameter.If lock of the instance is not held by anyone,then the page is updated based on the most recent version of the instance and the current operator is given the lock for the instance.

March 10, 2011 - 7:26am

Can anyone reply to this topic

June 20, 2016 - 1:52am

what is the real time scenario to choose obj-refresh-and-lock over open-open?? how it impacts performance??

November 1, 2016 - 6:50am

can anybody clearly explain me the use of obj-refresh-and-lock with real time example.

Thanks in Advance