Posted: 6 Oct 2015 8:32 EDT Last activity: 17 Dec 2015 5:19 EST
Initiate a flow in middle of the same flow without replacing the work object that flow is run
We have a flow that creates objects that hold different data based on the different parameters is bieng passed. That flow is called as the interaction flow. There is a requriement to create a object which will be used to capture different set of data within the interaction . Since the same type of work object has been created as the result of initiation of interaction the second work object should not create work ID. It must be a temporary one which will capture and commit data to database using same flow with different parameters.
Can we call the same flow without replacing the pyWorkObject in the middle of the flow?
As far as the requirement can be elaborated from the details you have posted, It seems at a certain point of the flow you need to introduce some device to record certain information from the user input but you do not want the work item to be replaced, so the most simple solution is calling a sub-flow and device a screen-flow into it which will neither move the work item ahead nor will generate a new work item as per OOTB behavior and let the assignee input any amount of information even in phases or else.
If I am missing anything, please come back to me with more input regarding your requirement.