In Data Management (DMS), approval processes are associated with security rules. You can configure different approval processes for different types of tickets. This topic describes how to configure approval processes.
Prerequisites
Concepts
- approval node
- Each approval node represents a stage of an approval process. You can specify one
or more users as approvers for an approval node.
Note If one of the approvers gives approval, the ticket is submitted to the next approval node.
- DMS provides four default approval nodes that are described in the following table.
Approval node Description Admin A DMS administrator gives approval. Note For more information about how to specify a user as a DMS administrator, see Modify a user.DBA The DBA of the resource on which you operate gives approval. Note To specify the DBA of a database instance, perform the following steps: In the top navigation bar of the DMS console, click Data Assets. Then, click Instances. On the Instances page, find the database instance, move the pointer over More in the Actions column, and then select Edit. In the Edit dialog box, click Advanced Information.DBA Roles A DBA role in DMS gives approval, including the DBA of the resource on which you operate. Note For more information about how to specify a user as a DBA, see Modify a user.Owner The owner of the resource on which you operate gives approval. Note For more information about how to apply for the owner permissions on a database or a database instance, see Apply for permissions. - In addition to the default approval nodes that DMS provides, you can add, modify, and delete custom approval nodes. For more information, see Create an approval node.
- Each approval node has a unique node ID.
- Each approval node represents a stage of an approval process. You can specify one
or more users as approvers for an approval node.
- approval template
- An approval template consists of one or more approval nodes.
- In addition to the default approval templates that DMS provides, you can add, modify, and delete custom approval templates. For more information, see Create an approval node.
- Each approval template has a unique template ID. For example, the approval template
whose ID is
851
consists of the approval nodes whose IDs are512
and511
. - When you configure a security rule, you can use the ID of an approval template to configure an approval process.
- approval priority
For each type of ticket, you can configure approval processes for both the basic configuration items and checkpoints.Note If you have configured approval processes for both the basic configuration items and checkpoints in DMS, the approval processes for the checkpoints prevail. The approval processes for the basic configuration items apply only when no approval processes are configured for the checkpoints.
- approval-free template
DMS provides an approval-free template. The ID of this template is -1. To achieve approval-free effect, you can also use the actions that are described in the following table when you configure security rules. For more information about actions, see DSL syntax for security rules.
Action Description @act.do_not_approve Requires no approval. @act.choose_approve_template -1 Uses the approval-free template whose ID is -1. @ act.choose_approve_template_with_reason -1 "Approval-free" Uses the approval-free template whose ID is -1 and returns the "Approval-free" message in the corresponding process.