What's the best way to get the flow name when resume a flow?
Assume there is a work object which has been processed and in pending status (not completed yet). Now we need to use the activity ResumeFlow to continue the path. If don't know the flow name at the point, what's the best way to find out the flow name? Currently, I am using the pxStageHistory in pyWorkpage after open this work object. It contains a list of history steps for the WO. And the last page in pxStageHistory is the latest step that the WO is in. I can see the pxSubscript in pxProcesses(1) is the flow name to use. I wonder if this is the best approach and how reliable it is.
Thanks for your advice and comments in advance!
***Updated by Moderator: Marissa to update categories***