Posted: 26 Jun 2019 4:51 EDT Last activity: 17 Feb 2021 10:12 EST
Current Flow Rule & Flow Action property
In my use case i used activity resumeflow where we have to input two parameters (FlowRule,FlowAction) of the work object. I need workobject of current Flow and FlowAction as i searched in clipboard only flow was found under pyworkpafge --> pyFlow, i cant find the current flow action,
You can get the flow action name from newAssignPage.pyAssignActions as below
All the actions(flow action and local actions) will be present for the assignment in the pagelist, for the current flow action 'pyActionType' will be "FlowAction" for the rest it would be "LocalAction".
You may loop over the results and check for 'pyActionType' having 'FlowAction' to get the current flow action name.
**first pagelist result would be always the current flow action(just to let you know to avoid above step)