飞书项目 icon

飞书项目

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

Actions75

角色与人员配置 → 获取流程角色配置详情

AI-generated

Overview

This node operation fetches detailed configuration information about workflow roles within a specified project space in Feishu. It is useful for scenarios where users need to retrieve role settings and personnel assignments related to workflow processes in a project management context. For example, it can be used to automate the retrieval of role configurations for auditing or integration with other systems.

Use Case Examples

  1. Retrieve workflow role configuration details for a specific project space and work item type to understand role assignments and permissions.
  2. Automate the extraction of role details to synchronize with an external HR or project management system.

Properties

Name Meaning
空间 The project space to select, either from a list or by manually entering the project_key. This defines the scope of the workflow roles to fetch.
工作项类型 Name or ID The work item type within the selected project space. This is required to specify which type of workflow roles to retrieve. The list is dynamically loaded based on the selected space.
Options Additional options for the request, including batching parameters and timeout settings.

Output

JSON

  • error - Error message details if the request fails or encounters issues.
  • details - Additional error details if available.
  • data - The main data output containing the workflow role configuration details retrieved from the API.

Dependencies

  • Requires an API key credential for Feishu Project API authentication.

Troubleshooting

  • Ensure the '空间' (project_key) is correctly selected or entered; missing or incorrect project_key will cause errors.
  • The '工作项类型 Name or ID' must be valid and correspond to an enabled work item type in the selected space.
  • Batching options must be configured properly; invalid batch sizes or intervals may cause request failures or delays.
  • Timeout settings should be adjusted based on network conditions; too low a timeout may abort requests prematurely.
  • Common error messages include '未实现方法' indicating the operation is not implemented, or API errors returned from Feishu Project API which should be checked for correct permissions and parameters.

Discussion