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.

Figure 1. Sample workflow: RFI and subprocess
Sample workflow: RFI and subprocess
Table 1. Node properties: Sample workflow with an RFI and a subprocess
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
process.setResult
(process.APPROVED);
RETURN_REJECTED Activity ID RETURN_REJECTED
Join Type OR
Split Type OR
JavaScript
process.setResult
(process.REJECTED);
End Activity ID End
Join Type OR
JavaScript N/A
Transition LineStart > New Employee Approval JavaScript [Custom]
true
Transition LineNew Employee Approval > Request Storage Quota JavaScript [Approved]
activity.resultSummary
==activity.APPROVED;
Transition LineNew Employee Approval > RETURN_REJECTED JavaScript [Rejected]
activity.resultSummary
==activity.REJECTED;
Transition LineRequest Storage Quota > RETURN_APPROVED   [Custom]
true
Transition LineRETURN_APPROVED > End JavaScript [Custom]
true
Transition LineRETURN_REJECTED > End JavaScript [Custom]
true