# POST api/ispatial-compute/machinelearning/workflowrun ================================================================================ 工作流运行 ## 参数 +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ | 名称 | 类型 | 是否必传 | 备注 | +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ | current_userid | int | Y | 当前登录用户ID | +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ | workflow_name | string | Y | 工作流名称 | +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ | workflow_comment | string | Y | 工作流描述 | +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ | nodes | array | Y | 机器学习节点集合,普通配置请参考普通工作流中 :doc:`添加工作流<../WorkflowController/workflowAdd>` 的配置说明; | | | | | 特殊配置为机器学习节点多出InputArgs配置,每个节点的输入参数说明请参考算法文档 :doc:`Algorithm` | +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ | edges | array | Y | 工作流边集合,包含src_node_id、src_output_idx、dst_node_id、dst_input_idx、id | +------------------+--------+----------+-------------------------------------------------------------------------------------------------------------------------+ ## 返回 | 名称 | 类型 | 是否必传 | 备注 | | ---- | ---- | -------- | ---- | | 无 | | | | ## **备注** (不满足以下条件,不允许提交) 1. 一个workflow隐藏包含一个start节点,start,end,fail为关键词,每个工作流start有且仅有一个;