we have a scenario like whenever an access request is raised the first remainder should trigger at 24 hrs and next remainder at 72 hrs . After this if the access request is still not approved or rejected, we need to escalate the work item to the operations workgroup. We have configured remainders in provisioning approval sub process. We also created an escalation rule as return “operations” in the provisioning approval sub process. But after the second remainder instead of escalation to the workgroup the access request is getting expired. Can anyone please provide a solution over this and if any sample escalation rules also help us.
Note: we have also provided the escalation style as both in provisioning approval subprocess
Can you please provide the escalation Rule you can configured, In the escalation rule if you return null - the work item will be expired, if you want to escalate it to a particular identity or workgroup you have to return the name of the same in your escalation rule
You can have your conditions accordingly within the rule.
I have hardcoded the workgroup name in the rule as return “operations”;. This is the single line of code that I have wrote and I have added the rule in set up → business process–> provisioning approval sub process–> workitem escalation rule variable–> selected the rule and added the code there. When I see the type of the rule it become type as workflow rule not escalation rule. Can u please help me to know is that the correct place to add the escalation rule or is anything I am missing?
Have you mapped this variable as reference in the Approval step of the same sub-process for the argument - workItemEscalationRule
Can you share the Sub-Process xml completely if possible.
Please find workflow attachments
There are couple of things I noticed,
- The RuleType for escalation rule is Escalation and not Workflow.
- The workflow variable workItemEscalationRule is initialised with rule:access request escalation rule. My understanding is that this variable will be having the value returned from rule instead of the rule. The argument workItemEscalationRule in Approval step is expecting the rule not the identity name.
Try changing the <Arg name="workItemEscalationRule" value="ref:workItemEscalationRule"/>
to
<Arg name="workItemEscalationRule" value="access request escalation rule"/>
And make sure to change the rule type to Escalation which will be having the argument newOwner which is of the type String.
Hi @Jarin_James
Thanks for the reply. The solution worked
Happy to help
Please mark the response as solution, it will help others looking for solution for similar issues.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.