Process¶
- class deepfos.api.workflow.Process(root: deepfos.api.base.RootAPI)¶
- launch(processLaunchDTO=None)¶
流程启动
- 参数
processLaunchDTO –
Optional
[ProcessLaunchDTO
]- 返回类型
- launch_batch(processLaunchMultipleDTO=None)¶
批量启动流程
- 参数
processLaunchMultipleDTO –
Optional
[ProcessLaunchMultipleDTO
]- 返回类型
Union
[List
[LaunchReturnForBatchVO
],Awaitable
[List
[LaunchReturnForBatchVO
]]]
- launch_params(elementName, folderId=None, path=None)¶
获取工作流启动参数
- process_instance_get_by_business_key(businessKeyQueryDTO)¶
通过【业务键】反查流程实例
- 参数
businessKeyQueryDTO –
BusinessKeyQueryDTO
- 返回类型
Union
[List
[ProcessInstanceVO
],Awaitable
[List
[ProcessInstanceVO
]]]
- process_instance_get_by_launch_params(launchParamsDTO)¶
通过【启动参数】反查流程实例
- 参数
launchParamsDTO –
LaunchParamsDTO
- 返回类型
Union
[List
[ProcessInstanceVO
],Awaitable
[List
[ProcessInstanceVO
]]]
- send_message(sendMessageDTO)¶
发送消息
- 参数
sendMessageDTO –
SendMessageParam
- 返回类型
- task_instance_get_by_business_key(businessKeyQueryDTO)¶
通过【业务键】反查任务实例
- 参数
businessKeyQueryDTO –
BusinessKeyQueryDTO
- 返回类型
Union
[List
[TaskInstanceVO
],Awaitable
[List
[TaskInstanceVO
]]]
- task_instance_get_by_launch_params(launchParamsDTO)¶
通过【启动参数】反查任务实例
- 参数
launchParamsDTO –
LaunchParamsDTO
- 返回类型
Union
[List
[TaskInstanceVO
],Awaitable
[List
[TaskInstanceVO
]]]