Name some Obj Method and its benefits?



Name some Obj Method and its benefits?..

Answer / Ramendr Pratap Singh

In Pega, Object methods are functions that can be called on an instance of an object. Here are a few examples:

1. `save()` - This method saves the work object to the database. It's beneficial when you want to persist changes made during an activity.

2. `lockWorkObjectForUpdate()` - This method locks a work object for update, ensuring that no other rule can modify it until it is unlocked. This can be useful for maintaining data consistency in multi-user environments.

3. `delete()` - This method deletes the current work object from the database. It's beneficial when you want to remove an object from the system.

4. `copy()` - This method creates a new instance of the object and sets its properties to the values of the current object. It's useful for creating duplicate objects or templates.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Pega Interview Questions

Can we use rdb-save along with commit, if yes then why? If not yes then why?

1 Answers  


Who uses pega?

1 Answers  


What is the difference between ListView and SummaryView ?

1 Answers  


Message is set to the property and the checked in the clipboard also , the messages got set successfully. But the message is not displayed beside the field in the screen. Why..?

1 Answers  


Is it necessary to create Operator ID's in PRPC for each Work User/External Customer to send Correspondence?

1 Answers   Accenture,


Where can I see the parameter values in the clipboard ( values ..) I am passing one activity to other?

1 Answers  


What are the types of Inheritance?

1 Answers  


What is a class group?

1 Answers  


Different type of flows. Explain in scenario-based where you used and worked

1 Answers  


Explain about Property-Map-DecisionTable method?

1 Answers  


What is Pega and Why Pega?

1 Answers  


Can you tell me the direct inheritance and Pattern inheritance?

1 Answers   JPMorgan Chase, Semantic Space,


Categories