UNPKG

@5minds/processcube_app_sdk

Version:
8 lines (7 loc) 828 B
import { DataModels } from '@5minds/processcube_engine_client'; export declare const finishTask: (flowNodeInstanceId: string, flowNodeType: "bpmn:UserTask" | "bpmn:ManualTask" | "bpmn:Task") => Promise<void>; export declare const terminateProcess: (processInstanceId: string) => Promise<void>; export declare const retryProcess: (processInstanceId: string, flowNodeInstanceId?: string, newStartToken?: any) => Promise<void>; export declare const getProcessInstance: (processInstanceId: string) => Promise<DataModels.ProcessInstances.ProcessInstance>; export declare const getFlowNodeInstances: (processInstanceId: string) => Promise<DataModels.FlowNodeInstances.FlowNodeInstance[]>; export declare const getTriggeredFlowNodeInstances: (flowNodeInstanceIds: string[]) => Promise<DataModels.FlowNodeInstances.FlowNodeInstance[]>;