import { BpmnType } from '../Constants'; import { Activity } from './ActivityBase'; /** * Describes a BusinessRuleTask. * * Note that the engine does not yet support these! */ export type BusinessRuleTask = Activity & { readonly bpmnType: BpmnType.businessRuleTask; /** * The topic to use in conjunction with external ServiceTasks. */ topic?: string; /** * The payload to use in conjunction with external ServiceTasks. */ payload?: string; /** * If set to 'true', the Service Task will fail, if it is not processed after the first lock ends. */ isSingleTry?: boolean; decisionRef: string; decisionRefBinding: string; decisionRefVersion: string; };