You can create custom approval templates to meet your business requirements. This topic explains how to create and manage them.
Permissions
-
A super administrator or system administrator can create, edit, and delete custom approval templates.
-
A system administrator can create, edit, and delete custom action buttons for approval nodes.
Approval process
-
A task proceeds to the next approval node only after the previous one is approved. The task is approved only if all its approval nodes are approved. If any node is rejected, the entire task is rejected.
-
For an approval node with multiple approvers, the node is approved if any member approves it, and rejected if any member rejects it.
Limitations
-
If the default is set to the built-in approval system, custom actions created for a workflow become invalid if you later change the default to a third-party system. To preserve a custom action, specify the built-in approval system directly for that workflow.
-
If an approval node in an approval template is assigned to a global role that has no users, the approval workflow fails to start. To resolve this, modify the approval template or assign users to the role before initiating the workflow.
-
You can select the asset listing/delisting approval scenario only when you have purchased the asset operations value-added module and enabled the asset operations feature for your tenant.
Supported approvers
-
Global role: A global role within the tenant, such as super administrator, system administrator, data source administrator, quality administrator, security administrator, cross-tenant publishing user, or data standard administrator.
-
Owner: The owner of a resource, including a dimension logic table, fact logic table, summary logic table, metric, data source, API, Dataphin data source, application, or service unit.
-
Domain architect: The domain architect of the resource.
-
Project administrator: The project administrator of the resource.
-
Specified approver: A member with an active account in the tenant.
-
Selected by Initiator: The workflow initiator selects the approver when starting the process.
Create a custom approval template
-
In the top navigation bar of the Dataphin homepage, choose Management Center > System Settings.
-
In the left-side navigation pane, choose Approval Management > Approval Template.
-
On the Approval Template page, click the Custom tab, and then click +New Approval Template.
-
In the New Approval Template dialog box, configure the following parameters. The required parameters vary depending on the approval system.
Built-in approval system
Parameter
Description
Template name
Enter a name for the custom approval template. The name can be up to 128 characters long.
Scenario
Select the scenario where the approval template can be used. Supported scenarios are Permission Application, Data Standard Approval, Data Download, Custom Operation Approval, In-project Object Publication Approval, code review, and Asset Listing/Delisting Approval.
Description (Optional)
Enter a description for the approval template. The description can be up to 128 characters long.
Approval system
Select Built-in approval system.
Approval node
You can add up to 10 approval nodes. For each node, configure the Approver, Approval node description, and Optional approval actions.
-
Approver: You can select approvers from System Role, Custom Role, and Specified Approver. You can select up to 10 approvers for each node either by Role or as a Specified Approver.
NoteIf a custom global role assigned to an approval template is deleted, the system marks it as "deleted" within the template. You can then remove this role. Once removed, the role no longer appears as a candidate when you edit the template.
-
Optional approval actions: The supported action types are Approve, Reject, Transfer, and Countersign. To add a new approval action, click the edit
icon. For more information, see the next section.
Add optional approval actions
Note-
If the optional actions in a custom approval template are changed, the optional actions in the corresponding approval tasks also change.
-
You can create a maximum of 5 optional actions.
-
In the Approval Node section, find the Optional Approval Actions column and click the
icon. -
In the Optional Approval Actions panel that appears, click +Add Optional Action and configure the following parameters.
Parameter
Description
Action name
Enter a name for the action. The name can be up to 20 characters long.
Action type
Select the type of action. Currently, only Initiate Other Approval is supported.
Approval template
Select a custom approval template whose scenario is Custom Operation Approval.
After action is completed
-
Return to Current Approver: When the new approval process is approved, the original workflow returns to the approver of the current node, who can then continue the approval.
-
Current Node Approved: When the new approval process is approved, the current node is considered approved, and the original workflow proceeds to the next node. If no next node exists, the original workflow is approved.
-
-
Click OK to finish configuring the optional approval action.
Third-party approval
Parameter
Description
Template name
Enter a name for the custom approval template. The name can be up to 128 characters long.
Scenario
Select the scenario where the approval template can be used. Supported scenarios are Permission Application, Data Standard Approval, Data Download, Custom Operation Approval, In-project Object Publication Approval, code review, and Asset Listing/Delisting Approval.
Description (Optional)
Enter a description for the approval template. The description can be up to 128 characters long.
Approval system
Select Third-party approval. If the default approval system in Approval settings is configured as a third-party system, you can also select Default.
You can click Integration Document to view the structure and parameter descriptions of the approval content.
Approval template
Enter the name of the default third-party approval workflow template. If no template is available, you can leave this field empty.
Approver source
-
Configure in Dataphin: The approval process uses the approval nodes and approvers configured in Dataphin.
-
Use DingTalk Approval Flow: The approval process follows the selected DingTalk template, and you do not need to configure approval nodes in Dataphin.
NoteThis option is available only when you select DingTalk OA as the approval system.
Approval node
You can add up to 10 approval nodes. For each node, configure the Approver and Approval node name. Each node can have up to 10 approvers.
Approver: You can select approvers from System Role, Custom Role, and Specified Approver. You can select up to 10 approvers for each node by Role or as a Specified Approver.
NoteIf a custom global role is deleted after being assigned as an approver in an approval template, it will be marked as deleted in the template. You can remove this role from the template. After removal, the deleted role will no longer appear as a candidate role when you edit the template.
After configuration, you can click View Approval Metadata Example to see an example based on your configured scenario, approval nodes, and parameters. You can also click Send Test Approval to verify that the approval template works correctly.
-
-
Click OK to save the approval template configuration.
Approval template list
On the Approval Template page, you can view your configured approval templates. You can also search for, view, edit, and delete templates.

|
Section |
Description |
|
① Filter and search area |
You can perform a fuzzy search by template name or filter templates by Scenario. |
|
② List area |
This section displays the Template name, Description, Scenario, References, Last updated by, and Last updated time. In the Actions column, you can View, Edit, or Delete a template.
|
Next steps
After you create an approval template, you can reference it when you create a new standard set or configure data permission approvals. For more information, refer to the following topics: