Actions75
- 空间 Actions
- 工作项实例读写 Actions
- 工作项实例搜索 Actions
- 工作项配置 Actions
- 流程模板配置 Actions
- 流程与节点 Actions
- 视图 Actions
- 子任务 Actions
- 空间关联 Actions
- 评论 Actions
- 附件 Actions
- 用户 Actions
- 群组 Actions
- 度量 Actions
- 角色与人员配置 Actions
流程模板配置 → 更新流程模板
AI-generatedOverview
This node operation updates a workflow template configuration in the Feishu project management system. It allows users to specify the project space, template ID, and provide detailed JSON configurations for node workflows and state flows. This operation is useful for automating and managing workflow templates programmatically, ensuring that workflow templates are kept up-to-date with the latest configurations.
Use Case Examples
- Updating a workflow template to reflect new process steps or state transitions in a project management space.
- Automating the update of workflow templates across multiple projects to maintain consistency.
Properties
| Name | Meaning |
|---|---|
| 空间 | 选择空间。可以从列表选择或手动输入 project_key。 |
| 模板ID | 模板 ID。如果不提供,将自动选择指定工作项类型的第一个流程模板。可通过接口获取。 |
| 节点流程配置 | 节点流程配置,遵循 WorkflowConf 结构规范,JSON格式。 |
| 状态流程配置 | 状态流程配置,遵循 StateFlowConf 结构规范,JSON格式。 |
| Options | 操作选项,包括批处理设置和请求超时设置。 |
Output
JSON
error- 错误信息,如果请求失败则包含错误描述。details- 错误详情,包含更详细的错误信息(如果有)。
Dependencies
- Requires Feishu Project API credentials for authentication.
Troubleshooting
- 常见问题包括项目空间选择错误或模板ID无效,导致请求失败。
- 错误信息通常包含详细描述,检查模板ID和项目空间是否正确。
- 启用批处理时,注意批次大小和间隔设置,避免请求过载。
Links
- WorkflowConf 和 StateFlowConf 结构规范 - 详细说明节点流程配置和状态流程配置的 JSON 结构规范。