Dynamic Approvals for Service Catalogs 1
Many of the times, we cannot achieve business objectives with a Static Approval process. We have specific conditions where the record needs to be routed to different Approvers based on factors, such as Region, Country, or with some other criteria. In such a case, we need to set up one Static Approval process for each such condition. Now, Dynamic Approval processes can be configured for Service Catalogs. In Dynamic Approval process, the Approvers are assigned dynamically to the record from the Custom Tables based on the values provided by the users on the Service Catalog.
Prerequisites
Configure Custom Tables in Web Services: For information about how to configure Custom tables in Web Services, see Creating Custom Tables in Web Services on Configuring Web Services.
- Import Custom Data into Custom Tables: For information about how to import custom data into Custom tables in Web Services, see Importing Custom Data into Custom Tables on Configuring Web Services.
Create Service Catalogs with Autofill Control to Use Custom Data of Custom Table
Under the FORM BUILDER tab of the FORM BUILDER page (Catalog > User > Create Service Catalog > Fill the required details under FORM DETAILS tab> click NEXT > On the FORM BUILDER tab drag and drop Autofill control under Default Group), a new option, Custom Table is added for Options drop-down list under PROPERTIES section. Select the Custom Table to view the custom tables created in Web Services. For more information about creating Service Catalogs, see Creating Service Catalogs with Autofill Controls.
Configuration
Configure Dynamic Approvals for a Service Catalog
On the PROPERTIES pop-up page (Admin > Basic> Infrastructure > Workflow > On the FILTERS pop-up, select Module as Service Catalog Management and select required Tenant from drop-down list > Click SUBMIT> Select the required Catalog form Catalogs tab to Configure Custom Table Approver or Dynamic Approver Workflow > Drag and drop the Approval component from the Activity tab> Right-click on the Approval block and click Properties), a new Approver option, Custom Table Approver is added. For information about how to configure Dynamic Approves in Workflows, see Configuring SR Approval Workflow.
Figure: PROPERTIES pop-up: Custom Table ApproverNote:
The Field Name drop-down list displays the field name of autofill control(s) mapped to Custom Table on the FORM BUILDER tab of Service Catalog Management FORM BUILDER page.
The Approver Column drop-down list displays the custom table column(s) whose Data Type is integer.
Example
Consider an organization A, which is located across the globe with different Business Heads for each State. While raising any request based on the Country, State, and City selected by user, the corresponding Business Head should be chosen as an Approver for that request.
In this case, perform the following steps:
Create a new Custom Table in Web Services to store Location and Approver details - Creating a basic table involves naming the table and defining its columns and each column's data type.
Import the custom data into the Custom table.
Create a Service Catalog with Autofill Control to Use Custom Data of Custom Table.
Configure Dynamic approvals in Service Catalog Workflow.
Create a Service Request using the Catalog configured with dynamic approval.
Confluence Cloud Migration Alert: Please refer to known issues you may encounter in Confluence Cloud: https://eitdocs.atlassian.net/wiki/x/wDGwAQ