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.

18 lines (17 loc) 551 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; loopData: { loopLength: any; loopIndex: number; }; }; }