I am facing an issue where I am updating the pyStatusWork of a Work object in the pre-flowaction activity by calling OOTB UpdateStatus and passing the Status Work which is created as field value.
Steps to reproduce:
1) Create a flow with assignment shape. Set some status work on the assignment as Pending. Add a flow action from the connector, lets say "Submit". As soon as user clicks on begin to perform this assignment Work object status needs to be changed from Pending to "Assigned"
b) Use OOTB Pre flow action activity UpdateStatus and pass the status as "Assigned".
c) When launching the assignment, Clipboard property on pyWorkPage correctly gets set to "Assigned", however the value does not get reflected on the header section.
Place pyStatusWork as hidden text inside the flow action section.
I don't have any valid explanation behind this issue. But the work around seems to be working. I am working on Pega 8.2.2 cloud instance.