飞书项目 icon

飞书项目

飞书项目管理 API 集成,支持工作项、空间、用户、工作流等完整功能

Actions75

流程与节点 → 获取工作流详情(WBS)

AI-generated

Overview

This node operation fetches detailed information about a workflow's work breakdown structure (WBS) within a specified project space. It is useful for project management scenarios where users need to retrieve hierarchical workflow data, including optional extended details such as deliverables, schedule aggregations, and WBS relation chains. For example, a project manager can use this node to get a comprehensive view of a workflow's tasks and dependencies in a Feishu project space.

Use Case Examples

  1. Retrieve WBS details for a specific work item in a project space to analyze task dependencies and progress.
  2. Include extended WBS relation chain information to understand hierarchical links between workflow nodes.

Properties

Name Meaning
空间 The project space to select, either from a list or by manually entering the project_key.
工作项类型 Name or ID The type of work item within the selected space, chosen from a list or specified by ID.
工作项ID The unique ID of the work item instance to retrieve details for.
Options Additional optional parameters to customize the WBS retrieval, such as including merged deliverables, schedule table aggregation fields, WBS relation chain path and entity information, batching options for concurrent requests, and request timeout settings.

Output

JSON

  • error - Error message if the operation fails.
  • details - Detailed error information if available.
  • data - The JSON array containing the retrieved WBS details or error information.

Dependencies

  • Requires Feishu Project API credentials for authentication.

Troubleshooting

  • Common issues include missing or incorrect project_key or work_item_id, which will cause errors in fetching data.
  • Timeout errors may occur if the server response is delayed beyond the specified timeout setting; increasing the timeout or checking network connectivity can help.
  • If batching is enabled, improper batch size or interval settings might lead to request failures or rate limiting.

Links

Discussion