Posted: 29 Apr 2017 6:03 EDT Last activity: 2 May 2017 0:01 EDT
Activity calling in a flow action
I want to store series of numbers in a local storage so I created a activity with the methods of property-set to set properties with values and obj-save to save the values to local storage.I added it to precondition activity under flow action. After running the case when I come to the related flow action activity is calling and sets the property values in the clipboard but it is not saving to local storage, after submitting the form then it saves data to local storage. According to precondition values should be saved before submitting the form but it only happens after submitting the flow.What is happening?
When you use Obj-Save the save operation saves data to the deferred operation list and all deferred operations are saved together in some specific points when Pega commit the changes to the Data Base. In your case that will only happen after you submit the flow action. If you want to save data right away, check write now checkbox under the Obj-Save.