Sample workflow: multiple approvals
In this scenario, an organization has a policy in place for provisioning an account on a Windows server that is used for financial applications.
When a request is generated, a service owner must enter the appropriate account information before any approvals can take place. Then the request must be approved by both the Chief Financial Officer and the direct manager of the requestee. Each approver has one full day to act on the request.
After receiving a result from both approval requests, an email is generated and sent to the direct manager of the requestee. The email details the result and the process completes.
If both participants approve the request, the request is completed and the account is provisioned. If either of the participants rejects the request for approval, the process is completed without provisioning the account and the process result is set to Rejected.
Node | Feature | Value |
---|---|---|
Start | Activity ID | Start |
Split Type | AND | |
JavaScript | N/A | |
RFI | Activity ID | Service_Owner |
Participant | Service_Owner | |
Escalation Participant | System Administrator | |
Escalation Limit | 1 day | |
Join Type | AND | |
Split Type | AND | |
Entity Type | Account | |
Entity | WinLocal | |
Subprocess | Activity ID | Supervisor_Approval |
Subprocess | Workflow created in “Sample workflow: manager approval of accounts” | |
Join Type | AND | |
Split Type | AND | |
Approval | Activity ID | CFO |
Participant | [Org Role] Chief Financial Officer | |
Escalation Participant | System Administrator | |
Escalation Limit | 1 day | |
Join Type | AND | |
Split Type | AND | |
Entity Type | Account | |
Script | Activity ID | Process_Status |
Join Type | AND | |
Split Type | AND | |
JavaScript |
|
|
Work Order | Activity ID | Notify_Supervisor |
Participant | Manager | |
Escalation Participant | System Administrator | |
Escalation Limit | 1 day | |
Join Type | AND | |
Split Type | AND | |
Subject | New <JS>process.subject;</JS>
provisioning request for <JS>process.requesteeName;</JS> |
|
Message | Process Result: <JS>process.resultSummary</JS> | |
End | Activity ID | End |
Join Type | AND | |
JavaScript | N/A | |
Transition LineStart > Service_Owner
RFI |
JavaScript | [Custom]
|
Transition LineService_Owner RFI
> Supervisor_Approval Subprocess |
JavaScript | [Custom]
|
Transition LineService_Owner RFI
> CFO Approval |
JavaScript | [Custom]
|
Transition LineSupervisor_Approval
Subprocess > Process_Status Script |
JavaScript | [Custom]
|
Transition LineCFO Approval > Process_Status
Script |
JavaScript | [Custom]
|
Transition LineProcess_Status Script
> Notify_Supervisor Work Order |
[Custom]
|
|
Transition LineNotify_Supervisor
Work Order > End |
JavaScript | [Custom]
|