Getting routing slip error when a DocumentApproval Stage is set to Collection at Distribution level
Summary:
Business Requirement: Each Project has different approvers. For PO having many distributions with differing Projects on each, Approval is required to route to each project's assignees separately. Each Project's assignees need one user to approve the Task.
Issue Details: When PO is submitted the Transaction Console reports an error. [Issue Title: BPEL_TASK_30053], [Issue Description: Error in evaluating routing slip due to user {username_from_fault_payload} being invalid or this user not having a valid manager.]
For the sake of testing, we enabled the setting "Repeat stage in parallel for each item in a collection" and set the Collection as Distribution for a Stage in DcumentApproval BPM task. We have created 1 participant in this stage having ruleset with 2 business rules. Each rule is like "If Project_ID <X>, then Assign Approval Group <Y>/user <Y>, having different project and approval group/user. All other stage's and participants are ignored. The users in the Groups have managers assigned. When creating PO with 2 distributions and submitting PO, error in Transaction Console is reported. Got the error even for PO