Memperbarui definisi proses persetujuan yang ada.
Deskripsi operasi
Request
-
Use this API to modify an existing approval process definition, including its name, description, rule conditions, notification service, and approval nodes.
-
The required
Idparameter identifies the approval process definition to update. -
To overwrite the existing configuration, set the
Overwriteparameter totrue. -
The optional
ClientTokenparameter ensures request idempotency.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
ID definisi proses. |
177554881536128 |
| Name |
string |
No |
Nama definisi proses. |
MaxCompute 表审批 |
| Description |
string |
No |
Deskripsi definisi proses. |
lwt_ide_simple 项目 MaxCompute 表审批策略 |
| RuleConditions |
array<object> |
No |
Daftar kondisi aturan. Parameter ini tidak berlaku untuk kebijakan sistem. |
|
|
object |
No |
A rule condition. |
||
| Type |
string |
No |
The type of the condition. Valid values:
|
odpsProject |
| Scope |
string |
No |
The phase in which the rule takes effect. Valid values:
|
Deployment |
| Expression |
string |
No |
The conditional expression. Format: ((#type=='typeValue')). For example: ((#odpsProject=='PX_BEIJING_TEST')). |
((#odpsProject=='PX_BEIJING_TEST')) |
| NotificationServices |
array<object> |
No |
Konfigurasi layanan notifikasi. |
|
|
object |
No |
A notification service. |
||
| Channel |
string |
No |
The notification channel. Valid values:
|
|
| Extension |
string |
No |
Additional information in JSON format. For example, use {"atAll":"true"} to specify whether to notify all members. |
{"atAll":"true"} |
| Receiver |
string |
No |
The webhook URL. This parameter is required when |
https://dingtalk.com |
| ApprovalNodes |
array<object> |
No |
Daftar node persetujuan. Parameter ini tidak berlaku untuk kebijakan sistem. |
|
|
array<object> |
No |
An approval node. |
||
| Name |
string |
No |
The name of the node. |
default-name |
| AccountType |
string |
No |
The approver type for the node. Valid values:
|
TableOrProjectAdministrator |
| Assignees |
string |
No |
Specifies the approvers. The required value depends on the
|
DataWorksProjectMember |
| ExtensionProperties |
object |
No |
Additional properties that are required for specific
|
|
|
any |
No |
Additional properties. |
{ "449656": "role_project_admin,role_project_pe" } |
|
| ClientToken |
string |
No |
Parameter idempoten. Parameter ini memastikan bahwa permintaan yang diulang tidak menghasilkan operasi duplikat. |
1AFAE64E-D1BE-432B-A9**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned for the request. |
||
| RequestId |
string |
The request ID. |
0bc5df3a17****903790e8e8a |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0bc5df3a17****903790e8e8a"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.