Sample workflow: RFI and subprocess
This example displays an entitlement workflow that uses an RFI and a subprocess.
For the request to be approved and reach completion, the following
actions must occur:
- The workflow initiated by the Subprocess node must be completed with a result of approved.
- The participant defined in the RFI node is sent a request for information.
An approved response must come from the subprocess for the request to continue to the RFI.

| Node | Feature | Value |
|---|---|---|
| Start | Activity ID | Start |
| Split Type | AND | |
| JavaScript | N/A | |
| Subprocess | Activity ID | New_Employee_Approval |
| Subprocess | Workflow created in "Sample workflow: supervisor approval of accounts" | |
| Join Type | OR | |
| Split Type | OR | |
| RFI | Activity ID | Request_Storage_Quota |
| Participant | Service Owner | |
| Escalation Limit | 3 days | |
| Entity Type | Account | |
| Entity | WinLocalAccount | |
| Attribute Selection | Max. Storage | |
| Join Type | OR | |
| Split Type | OR | |
| RETURNED_APPROVED | Activity ID | RETURNED_APPROVED |
| Join Type | OR | |
| Split Type | OR | |
| JavaScript | |
|
| RETURN_REJECTED | Activity ID | RETURN_REJECTED |
| Join Type | OR | |
| Split Type | OR | |
| JavaScript | |
|
| End | Activity ID | End |
| Join Type | OR | |
| JavaScript | N/A | |
Transition LineStart > New Employee
Approval |
JavaScript | [Custom] |
Transition LineNew Employee Approval
> Request Storage Quota |
JavaScript | [Approved] |
Transition LineNew Employee Approval
> RETURN_REJECTED |
JavaScript | [Rejected] |
Transition LineRequest Storage Quota
> RETURN_APPROVED |
[Custom] |
|
Transition LineRETURN_APPROVED >
End |
JavaScript | [Custom] |
Transition LineRETURN_REJECTED >
End |
JavaScript | [Custom] |