Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
子任务 → 删除子任务
AI-generatedOverview
This node operation deletes a subtask within a specified project space in Feishu Project. It is useful for automating task management workflows where subtasks need to be programmatically removed based on certain conditions or triggers. For example, it can be used to clean up subtasks when a parent task is completed or canceled.
Use Case Examples
- Automatically delete subtasks when a parent task is marked as done.
- Remove subtasks that are no longer relevant after a project update.
Properties
| Name | Meaning |
|---|---|
| 空间 | The project space where the subtask exists. It can be selected from a list or entered manually as a project key. |
| 工作项类型 Name or ID | The type of work item within the selected space. This is required to specify the context of the subtask to delete. The list is dynamically loaded based on the selected space. |
| 工作项ID | The unique identifier of the work item instance that contains the subtask to be deleted. |
| 任务ID | The unique identifier of the subtask to be deleted. |
| Options | Additional options for the delete operation, including batching parameters for concurrent requests and timeout settings. |
Output
JSON
error- Error message if the delete operation fails.details- Additional error details if available.
Dependencies
- Requires Feishu Project API credentials for authentication.
Troubleshooting
- Ensure the project_key, work_item_type_key, work_item_id, and task_id are correctly specified and valid.
- If batching is enabled, verify that batch size and interval are set appropriately to avoid rate limiting or server overload.
- Common errors include invalid IDs or insufficient permissions, which will be returned in the error output.
- Timeout errors can occur if the server does not respond within the specified timeout period; increase timeout or check network connectivity.
Links
- 获取空间下工作项类型 - Documentation on how to get work item types under a project space in Feishu Project.