UNPKG

@tachybase/module-workflow

Version:

A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.

14 lines (13 loc) 460 B
import { FlowNodeModel, Instruction, JobModel, Processor } from '../..'; export default class extends Instruction { run(node: FlowNodeModel, prevJob: JobModel, processor: Processor): Promise<{ status: 1; result: number; }>; resume(node: FlowNodeModel, branchJob: any, processor: Processor): Promise<any>; getScope(node: any, index: any, processor: any): { item: any; index: any; length: number; }; }