How to Understand Obj-Save and Differ-Queue along with Obj-Save Cancel and Rollback and Obj-Open in PEGA?|
Understanding Obj-Save – Differ Queue
When an obj-save is executed, PRPC save the data into differ Queue.
When a write now is performed, the differ queue instance gets committed immediately to dedicated table.
When a commit is performed, all the Differ Queue instances gets committed to their respective tables.
Difference Between Write Now and commit
|Write Now performs an Immediate commit on specific Differ Queue Instance of specific Obj-Save.||Commit Methods perform a commit of entire Differ Queue. Thus all the Queue instances gets stored into their tables.|
Obj-Save Cancel and Rollback
|This method rolls back the latest un commitedObj-Save. It works on latest differ queue instance which is not yet committed.||This method rolls back all the un committedobj-Save done so far. This rolls back entire differ queue.|
This method is used to fetch single instance from table using class key.
The clipboard structure is Page.
When we do obj Open, we need to Pass below parameters.
- Step Page (This page should refer to table class)
- Open Class (Table Class)
- Class Key and value.
When we do obj open the instance will be fetched on to step page(table Page), if we want to display in UI, we need to assign data from table page TO UI related page.
Customer Search and Display in UI