All Products
Search
Document Center

DataWorks:ListProcessDefinitions

Last Updated:Jun 10, 2026

Mengkueri definisi proses tipe tertentu.

Deskripsi operasi

Description

  • Queries process definitions of a specified policy type.

  • This operation supports paginated queries. You can use thePageSize andPageNumber parameters to control the page size and page number.

  • You can also use theNextToken andMaxResults parameters to page through large result sets.

  • The response includes the total count, page size, current page number, and a list of process definitions.

  • Each process definition includes key attributes, such as its ID, enabled status, and priority.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Type

string

No

Tipe definisi proses. Nilai valid:

  • MaxCompute

  • DataService

  • Extension

  • Gudang Data Real-time

  • EMR (Anda tidak dapat membuat definisi kustom untuk tipe ini.)

  • DataAssetGovernance (Anda tidak dapat membuat definisi kustom untuk tipe ini.)

  • Lindorm (Anda tidak dapat membuat definisi kustom untuk tipe ini.)

  • DlfNext (Anda tidak dapat membuat definisi kustom untuk tipe ini.)

  • DlfV1 (Anda tidak dapat membuat definisi kustom untuk tipe ini.)

  • StarRocks (Anda tidak dapat membuat definisi kustom untuk tipe ini.).

MaxCompute

Elemen respons

Element

Type

Description

Example

object

  • Request ID

  • Error message: Populated if the call fails.

  • Error code: Populated if the call fails.

  • A list of process definitions: For more information, see the ProcessDefinition object.

RequestId

string

The request ID.

0bc5df3a17***903790e8e8a

PagingInfo

object

The pagination information.

TotalCount

integer

The total number of entries.

100

ProcessDefinitions

array<object>

A list of process definitions. For more information, see the ProcessDefinition object.

object

A summary of a process definition.

Id

string

流程定义 ID

10354346

Name

string

流程定义名称

MaxCompute 表审批

Description

string

流程定义描述

lwt_ide_simple 项目 MaxCompute 表审批策略

Type

string

流程定义类型,枚举:

  • MaxCompute

  • DataService

  • Extension

  • Hologres

  • DlfV1 【不支持自定义新建】

  • Emr 【不支持自定义新建】

  • DataAssetGovernance【不支持自定义新建】

  • Lindorm【不支持自定义新建】

  • StarRocks【不支持自定义新建】

  • DlfNext【不支持自定义新建】

  • DataWorks【不支持自定义新建】

MaxCompute

SubType

string

子类型:

  • Table

  • Column

  • Database

  • Schema

  • Default

Table

IsSystem

boolean

是否为系统默认策略,系统策略只能更新通知服务

false

Enabled

boolean

是否启用

true

Priority

string

优先级,数值越小优先级越高

1

Scopes

array

规则生效阶段:

  • Deployment 用于判定"提交申请时是否匹配该审批策略

  • Running 用于审批流程执行判定是否免审批【仅支持 MaxCompute 类型】

string

规则生效阶段

Deployment

Contoh

Respons sukses

JSONformat

{
  "RequestId": "",
  "PagingInfo": {
    "TotalCount": 0,
    "ProcessDefinitions": [
      {
        "Id": "",
        "Name": "",
        "Description": "",
        "Type": "",
        "SubType": "",
        "IsSystem": true,
        "Enabled": true,
        "Priority": "",
        "Scopes": [
          ""
        ]
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.