Defining a chain of approvals for cases and tasks
A case business analyst must complete the following steps to configure a chain of approvals:
- Define a process for a flow group.
- In an approval flow, associate the process with an approval flow.
When the outcome of the process is achieved, the selected approval process is run.
Sample of approval chaining
BMC Helix Business Workflows provides sample processes that you can reuse to create a chain of approvals. The sample processes that are provided out of the box for cases and tasks contain process variables that are automatically copied to the new process when you create a copy of the sample process.
The following table describes the process variables that are available in the case and task sample processes:
Process | Process variable type | Process variable name | Variable ID | Description |
---|---|---|---|---|
Case - Sample Chaining Approval | Input | Case Record | 57000 | This ensures that the self approval process is run for the correct case record definition. |
Approval Status | 57020 | This ID stores the outcome of a previous approval. | ||
Output | Final Status | 57030 | This ID stores the final outcome of the Approval Process element that is used in chaining. | |
Task - Sample Chaining Approval | Input | Task Record | 57000 | This ensures that the self approval process is run for the correct task record definition. |
Approval Status | 57020 | This ID stores the outcome of a previous approval. | ||
Output | Final Status | 57030 | This ID stores the final outcome of the Approval Process element that is used in chaining. |
To create a copy of the sample process
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- To create a copy of the sample case process, select Case Management Service.
- To create a copy of the sample task process, select Task Management Service.
- Click Processes.
- Select the Case - Sample Chaining Approval process, and click Copy.
In the new process, the process variables are automatically added. - For task approval, select the Task - Sample Chaining Approval process, and click Copy.
In the new process, the process variables are automatically added. - From Palette, drag the Approval Process element to the canvas, and perform the following steps in Element Properties:
- Under Record, click Click to build an expression.
- For case approval, in Edit Expression, from Process Variables, add Case Record, and click OK.
- For task approval, in Edit Expression, from Process Variables, add Task Record, and click OK.
- In Flow Group Name, click Select.
In Select From Approval Flows, select the flow group that you want the process to call, and click Use Selected Flow Group.
- (Optional) Use any other elements in the process based on how you want to configure the process.
The following image shows an example of adding an element in which the approval process triggers an approval from a different flow group.
Learn more about elements in.
Save the process.
After the process is created, an administrator must associate it with an approval flow.
To create a new chain of approval process
If you do not want to use the default approval process, you can create a new process in BMC Helix Innovation Studio.
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- To create a copy of the sample case process, select Case Management Service.
- To create a copy of the sample task process, select Task Management Service.
- Click Processes > New.
In the new process, the process variables are automatically added. - Specify the Name of the process.
- Click Add/Remove Variables.
- For case approval, specify Case Record and Approval Status as the Input Variable.
- For task approval, specify Task Record and Approval Status as the Input Variable.
- Specify Final Status as the Output Variable.
- From Palette, drag the Approval Process element to the canvas, and perform the following steps in Element Properties:
- Under Record, click Click to build an expression.
- For case approval, in Edit Expression, from Process Variables, add Case Record, and click OK.
- For task approval, in Edit Expression, from Process Variables, add Task Record, and click OK.
- In Flow Group Name, click Select.
- In Select From Approval Flows, select the flow group that you want the process to call, and click Use Selected Flow Group.
- (Optional) Use any other elements in the process based on how you want to configure the process.
Learn more about elements in.
- Provide the appropriate permissions for users.
- Save the process.
After the process is created, an administrator must associate it with an approval flow.
Associating the approval process with an approval flow
After an approval process is created, a case business analyst must associate it to an approval flow. If required, multiple approval flows can be associated through chaining.
- Log in to BMC Helix Business Workflows as a case business analyst.
- Click Application Settings
.
- Click Approvals > Approval Configuration.
- For case approval, open the Case approval configuration, or open the approval process that you created.
- For task approval, open the Task approval configuration, or open the approval process that you created.
- On the Approval Flows tab, complete one of the following steps:
- To use the default flow group, select BWFA Group.
- To create a new approval group, click New flow group, specify the name, and click Add. Select the new group.
- To create a general flow, click New general flow, and complete the following steps:
- Specify the Flow name.
- To build the Qualification, click Click to build an expression.
- Add the Foundation entities manually, and click OK.
- To add Approvers, click Edit.
- Select the approvers, and click Save.
- To add conditions for approvers, for Qualify approvers, click Click to build an expression.
- If you select multiple approvers, select one of the options for If multiple approvers.
- Select the process to be invoked on approval, rejection, or error.
- Click Save and Close.
- To create a level up flow, click New level up flow, and complete the following steps:
- Specify the Flow name.
- Specify the No. of Levels and Qualification.
- To build the Qualification, click Click to build an expression.
Example: Create an approval flow for cases with Priority = Critical and Category Tier 1 = Compensation and Benefits. When a case with this qualification is created, it goes through the approval process with the level of approvers that you selected. - Add the Foundation entities manually, and click OK.
- Select the process to be invoked on approval, rejection, or error.
- Click Save and Close.
Where to go from here