Greetings!
I need your help with the following. We have an appllication with parent and child cases. Assignments will take place only in the child cases. Now the following is required:
In the moment a user starts an assignment (in child case) the StatusWork and pyOperatorUpdate of parent case is supposed to be changed.
I’ve been trying to call a flwo in pre-processing of the assignment’s flow action in which I use the update case shape. That worked for the changes in parent case but then submitting the assignment caused an error saying
"Another requestor has updated the Case since it was last read. Please refresh the form and resubmit your changes."
Hopefully one of you can help me out with an idea.
Cheers, Daniel
@Daniel Stopka
Hi Daniel,
Instead of calling flow in pre-processing, you can update the main flow, and just before starting the assignment call Utility “UpdateStatus” in the context of the parent case class. It should work.
@Shubham Kamble
Thank you for your quick reply. Unfortunately it is not working like the following:
Here I use utility shape in child case’s assignment screen flow
And in the following configuration I chosed the Status “Gelbfall - in Bearbeitung” status from parent case context (“BeneficialOwner”).
For explaination: “SingleBO” is the child case class and “BeneficialOwner” is the parent.
Did I miss s.th.?
Cheers Daniel
I found a working solution. I wrote a activity and used in there the methods “call pzUpdateWrapper” to set status of parent and “call UpdateStatus” to set status of current child case. To make the changes apply in the moment the assignment gets opened I hat to add a commit step.
@Daniel Stopka that’s great news!
Could you click the ‘Accept Solution’ link below your reply to indicate that this is the answer to your original question?