Malinda Patabandi (MalindaP)
Royal Bank Of Canada

Royal Bank Of Canada
MalindaP Member since 2013 11 posts
Royal Bank Of Canada
Posted: February 10, 2016
Last activity: February 13, 2016
Posted: 10 Feb 2016 11:03 EST
Last activity: 13 Feb 2016 5:37 EST

Difference of Usage of OTTB Addwork activity

Is there any difference in usage of  OOTB activity AddWork, as I have seen the usage of the description of the activity and the description of developer help?

Activity usage description: "Call this activity to create a new work object from a Utility or Post-Processing activity.  Prior to calling this activity create and populate a new work object page using createWorkPage then use it as the primary page to call this activity. Caller must commit changes using commitWithErrorHandling."

Developer Help Description:"Creates a new covered or non-covered work object. Called with a primary page that inherits from the Work- base class. Commits the new work object if there is no flow execution to start; if it starts a flow execution, the commit operation typically occurs when that flow execution creates an assignment."

Does OOTB activity Addwork perform commit when it runs?


Case Management Low-Code App Development
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.