Dingtalk Node icon

Dingtalk Node

Interact with the Dingtalk API

OA审批 → 获取审批实例ID列表

AI-generated

Summary

Lists DingTalk approval instance IDs for a workflow process within a time range, optionally filtered by initiators and instance statuses. Use the pagination cursor and page size to retrieve results across pages.

Inputs

  • 审批流的唯一码 (processCode) (required) — The unique code of the approval process.
  • 审批实例开始时间 (startTime) (required) — Start of the instance creation time range, as a Unix timestamp in milliseconds.
  • 审批实例结束时间 (endTime) — End of the time range, as a Unix timestamp in milliseconds.
  • 发起人userId列表 (userIds) — Comma-separated initiator user IDs; the UI description specifies a maximum of 10.
  • 流程实例状态 (statuses) — Optional status filters: running, terminated, completed, or completed with blanks. The UI says all statuses are used by default.
  • 分页大小 (maxResults) — Page size; defaults to 20.
  • 分页游标 (nextToken) — Pagination cursor; defaults to 0.

Output shape

A DingTalk API response containing approval instance IDs and pagination information.

The supplied source pack shows the operation module but omits its implementation body, so exact response fields and pagination behavior cannot be confirmed from the source. The end time is not marked required in the UI.

Links

Discussion