Question

259
Views
Gerg?T70 Member since 2016 22 posts
Saltech Consulting
Posted: 3 years ago
Last activity: 3 years 3 months ago
Closed

CSSA 7.2 course - invalid information provided on Obj-Save's WriteNow option

I am reading through the SSA 7.2 course, and in section 8 Data Managment - Reading and writing data to a database, page 4 there is the following info about ObjSave's WriteNow option:

Caution: Specifying WriteNow defeats all the benefits of the deferred save feature. Avoid enabling the WriteNow option unless absolutely necessary. Enabling this option causes the activity to perform a commit operation, and this commits any deferred operations. If the deferred operation also writes the same record, Pega performs the current activity step first, then performs the deferred operations. This may overwrite the result of the Obj-Save operation.

This is not true, as the WriteNow only saves the current page to the DB, and it does not alter the deferred operations queue.

Attached a screenshot about it.

***Updated by Moderator: Marissa to move from Product Support to Pega Academy***

Pega Academy
Moderation Team has archived post
Share this page LinkedIn