Skip to content

@sourceloop/bpmn-service / Exports / WorflowManager

Interface: WorflowManager<T, S>

Type parameters

Name Type
T AnyObject
S AnyObject

Table of contents

Methods

Methods

createWorkflow

createWorkflow(workflowDto): Promise<SuccessResponse>

Parameters

Name Type
workflowDto WorkflowDto

Returns

Promise<SuccessResponse>

Defined in

services/bpmn-service/src/types/types.ts:33


deleteWorkflowById

deleteWorkflowById(workflow): Promise<Workflow>

Parameters

Name Type
workflow Workflow

Returns

Promise<Workflow>

Defined in

services/bpmn-service/src/types/types.ts:35


deleteWorkflowVersionById

Optional deleteWorkflowVersionById(version): Promise<WorkflowVersion>

Parameters

Name Type
version WorkflowVersion

Returns

Promise<WorkflowVersion>

Defined in

services/bpmn-service/src/types/types.ts:36


getWorkflowById

getWorkflowById(workflow): Promise<Workflow>

Parameters

Name Type
workflow Workflow

Returns

Promise<Workflow>

Defined in

services/bpmn-service/src/types/types.ts:27


startWorkflow

startWorkflow(input, workflow, version?): Promise<S>

Parameters

Name Type
input T
workflow Workflow
version? WorkflowVersion

Returns

Promise<S>

Defined in

services/bpmn-service/src/types/types.ts:28


updateWorkflow

updateWorkflow(workflowDto): Promise<SuccessResponse>

Parameters

Name Type
workflowDto WorkflowDto

Returns

Promise<SuccessResponse>

Defined in

services/bpmn-service/src/types/types.ts:34