Issue with resolving multiple claim adjustments due to error
A flow rule has been configured with a spin off flow to create sub cases and the AllCoveredResolved ticket has been set on the end shape.
When a user processes the flow and selects to resolve the child items, an error occurs in the flow if more than one child item is processed. The flow works fine if the user only selects one child item.
The work page for this flow could not be found.
** The reference .pyTemporaryObject == false && Param.bTemporaryObject=="true" is not valid. Reason: FUAInstance-NullMyStepPage
Steps to Reproduce
- Configure a flow rule with a spin off flow to create sub cases.
- Set the AllCoveredResolved ticket on the end shape with a status of Resolved-Completed.
- Run the flow and try to resolve multiple child items.
The error is occurring due to the AllCoveredResolved ticket in the parent flow.
When all covered items are resolved, flow processing jumps to the end shape and the status of the parent is set to Resolved-Completed.
This is resulting in pyWorkPage being removed when the second child item is processed and the Resolve activity executes.
Since the parent object is resolved, step 15 in the Resolve activity calls WorkUnlock, which removes pyWorkPage.
The AllCoveredResolved ticket can still be used if desired but additional logic needs to be added.
One suggestion is to put the AllCoveredResolved ticket on a decision shape.
Then other properties can be checked as needed to determine if the cover should be closed.
If it should be resolved, proceed to the end shape and set the status to Resolved-Completed. If not, call RemoveTicket and proceed to the next assignment.