Hi everyone,
Could you please help with dynamic rule assignment and multiple group Approvers . I have a requirement as follows: I have done most of the work but struck with the approval and agent assignment.
A work item is to be sent to different departments (6 in total), each group has several approvers but only one approval is required ie the first agent who approves wins. The workflow will be deemed as approved if atleast one approval from each department is received. Ie I need 6 approvals , one from each department. There are different rules with responsibilities for each department (why? Because of authorisations, department wants to maintain their own).
I have modelled this using fork and parallel processing, I have a method which reads the various rules and returns a list of agents. I am able to send the work item to all departments however I am stuck with the split, how can I split the agents into departments and wait for the approval? How can I ensure that only one approval per group is fine? I am processing a block with profach but in this case it is not helping.
Dynamic assignment of rules in the task is not possible as when i select rule the system expects a constant value.
Your suggestions will greatly appreciated.
Thank you,
kind regards,
Andy