get_process_by_business_key

WorkFlow.get_process_by_business_key(business_key, compare_type=CompareType.equal, version=None)

通过业务键查询流程实例

参数
  • business_key (str) – 业务键

  • compare_type (Union[CompareType, str]) – 业务键匹配方式为equal还是like,默认为equal

  • version (Optional[str]) – 可选,工作流版本,默认为最新版本

返回类型

List[ProcessInstanceVO]