Support Article
Activity ResumeFlow does not refresh FlowAction list
SA-13531
Summary
User process the workobject instance from backend through an agent by calling 'ResumeFlow' in the agent activity. Sometimes, when flowaction is submitted, work object instance is not moving to next assignment level.
Error Messages
Not Applicable.
Steps to Reproduce
Step-1: Create an agent activity. Call Resumeflow in agent activity to continue processing the flow instance execution.
Step-2: Create any work object instance.
Step-3: Try to open and execute the work object instance through the above created agent.
Step-4: Verify the flow execution after submitting the flowaction.
Root Cause
When 'ResumeFlow' is called through agent, if the flowactionlist passed to 'ResumeFlow' is not refreshed, then the flowaction will be considered as local action and flow will not moved to the next assignment even though flowaction is submitted. This is causing the current issue.
Resolution
User is suggested to call out of the box activity 'OpenandLockWork' before 'ResumeFlow' in agent activity. 'OpenandLockWork' refreshes the flowaction list passed to the 'ResumeFlow'.This addresses the reported issue.
Published August 31, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.