During Flow processing, my working cases go through a Split for Each sub-process, and it required all users in the list to finish the sub-process flow.
Now, I need to add a feature that I can completed a specified User sub-process flow without Screen Operating.
(by Activity). So how do I open the Assignment and complete it in Activity?
P/s : I got the list of assignments from OOTB data page D_CaseAssignments.
P/s 2: I’ve tried using Work-Perform but doesn’t know which Parameter to be included so it would be great help to have a details guide.
In sub process flow, if you have any assignments, check on the assignment shape we have an option allow auto process, which requires a condition if the condition satisfies the assignment will be auto completed without any further manual actions on the assignment.
Thank for your reply. I did not try this cos we will need to change the setting from existing Flow, which are already complicated. Instead, i was able to resolve the issue via activity.
Thank you for your help. I was investigating around your suggest and yes, it did work. But there are also things to adjust for it to work better.
Lets say we have a main case. It has 3 assignments need to be completed in order to proceed to the next step: Process1, Process2, Process3. All three assignments are from the same Flow ( Split for Each ).
About screen, we have a Review screen which show details information about the case. In the upper menu of this screen we have the Assignment List with “GO” button to open and process the assignment manually. We also have other screens to input data.
①. If we click the Go button and open the Assignment already. Simply call FinishAssignment will completed this Assignment.
②. If we are in other screens, call FinishAssignment will actually completed the First Assignment from the list (Process1).
③. To fix the problem with ②, we need to guide the app to know what Assignment we need it to complete. I used OOTB acquireWorkObject here. Then after it, call Finish Assignment. This time i can complete the specified assignment.
④. If i want to complete all the assignments and move to the next stage. Instead, i can use the OOTB pxChangeStage and check the “CleanUp Processes” option. All the assignments will be completed and the Case moved to the next Stage without errors.