Support Article
Problem with bulk processing 'ResumeProblemFlow' Action
SA-3440
Summary
We are utilising the out of the box bulk processing and attempting to process assignments in the Work-.FlowProblems Flow.
The screen is unable to render the 'ResumeProblemFlow' or 'RetryProblemFlowFromStart ' Flow Actions (which are presented as being available) within the bulk processing screen.
---------------------------------------------------------------------
Resume flow Unable to dispaly HTML for this action.
The reference .pxFlow .pyLastFlowStepLabel is not valid.
Reason: unexpected character ")" at position 8, expected subscipt (wildcards not allowed)
------------------------------------------------------------------
Q & A:
- Do other flow actions display correctly?
- Yes they do
- Did this flow action work correctly before?
- This flow action has never been rendered in a bulk processing scenario before but will correctly render if arriving at it from a single work object
- Is this a new flow?
- This is the out of the box error handling flow
Error Messages
Unable to display HTML for this action
The reference .pxFlow().pyLastFlowStepLabel is not valid. Reason: unexpected character ')' at position 8, expected subscript (wildcards not allowed)
Steps to Reproduce
Attempt to bulk process items in FlowProblems with the ResumeProblemFlow and RetryProblemFlowFromStart Flow Actions using the Manager Portal.
To replicate a Problem Flow entry for bulk processing to test this scenario:
1) Create a main flow that calls a sub flow.
2) After the flow instances are saved, delete the sub flow.
3) Run the main flow. Since the sub flow does not exist an error will occur and the system will create an assignment in the FlowProblems flow.
4) Use the Manager portal for bulk processing to view the assignments for the operator and attempt to process the FlowProblems assignments in bulk.
5) Selecting the ResumeProblemFlow or RetryProblemFlowFromStart Flow Actions will result in the error reported and the user will not be able to proceed with the bulk process.
NOTE: Opening the assignments individually and using the ResumeProblemFlow and RetryProblemFlowFromStart Flow Actions works as expected.
Root Cause
The Flow Problems flow actions ResumeProblemFlow and RetryProblemFlowFromstart are marked as being available for bulk processing which gives the impression they could be used to perform a bulk process operation when actually it is not possible. Each of these flow actions reference the same HTML Work- * ActionDisplayError instance which is configured on the expectation that a specific value for pyFlowInError will be present on the newAssignPage which will not be the case when using the bulk processing approach via the portal. This configuration will be reviewed and addressed (if required) by engineering in a future PRPC release to avoid any misleading behaviour going forward.
Resolution
There is an alternative and recommended means by which bulk operations can be performed on assignments in the FlowProblems flow by using the "Flow Errors" list under the “Process and Rules category – Processes” landing page. Review the PRPC Help topic “Help: Working with the Flows with Problems report” for additional details.
Published January 31, 2016 - 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.