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

You are a DMS administrator or a database administrator (DBA).

Concepts

  • approval node
    An approval node consists of one or more users. You can create, modify, or delete approval nodes in DMS. Each approval node in an approval process represents a stage of the approval process. You can specify multiple users as approvers for an approval node. If one of the approvers gives the approval, the ticket is submitted to the next approval node.
    Note By default, each approval process in DMS consists of three approval nodes: Admin, DBA, and Owner.
  • approval template
    An approval template consists of one or more approval nodes. You can create, modify, or delete approval templates in DMS. The following figure shows the default approval templates in DMS.
    Note Each approval template has a unique template ID. For example, DMS provides an approval-free template whose ID is -1. The approval template whose ID is 851 consists of the approval nodes whose IDs are 512 and 511. 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 that are configured 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. When you configure security rules and want to specify that no approval is required, you can use the actions that are described in the following table. For more information, see DSL syntax for security rules.

    Action Description
    @act.do_not_approve Specifies that no approval is required.
    @act.choose_approve_template -1 Specifies that the approval-free template whose ID is -1 is used.
    @ act.choose_approve_template_with_reason -1 "Approval-free" Specifies that the approval-free template whose ID is -1 is used and DMS returns the "Approval-free" message in the corresponding process.

Create an approval node

  1. Log on to the DMS console V5.0.
    Note To switch to the previous version of the DMS console, click the 5租户头像 icon in the lower-right corner of the page. For more information, see Switch to the previous version of the DMS console.
  2. Click the Approval Node tab in the left-side pane.
  3. Click Create Approval Node.
  4. Set the parameters that are described in the following table.
    Parameter Description
    Node Name The name of the approval node.
    Remarks The description of the approval node.
    Approver The one or more users that you want to specify as approvers for the approval node. If one of the approvers gives the approval, the ticket is submitted to the next approval node.
  5. Click Submit.

Create an approval template

  1. Log on to the DMS console V5.0.
    Note To switch to the previous version of the DMS console, click the 5租户头像 icon in the lower-right corner of the page. For more information, see Switch to the previous version of the DMS console.
  2. Click the Approval Template tab in the left-side pane.
  3. Click Create Approval Template.
  4. Set the parameters that are described in the following table.
    Parameter Description
    Template Name The name of the approval template.
    Remarks The description of the approval template.
    Approval Node Click Add Node to add one or more approval nodes to the approval template. You must add the approval nodes in sequence. For example, the approval nodes whose sequence numbers are 0 and 1 are the first and second approval nodes.
  5. Click Submit.