@5minds/processcube_engine
Version:
The ProcessCube Engine. Stores and executes BPMNs.
32 lines (31 loc) • 996 B
TypeScript
import { BpmnType, EventType, FlowNodeInstanceState, Identity } from '@5minds/processcube_engine_sdk';
/**
* The base type for definining event messages.
*/
export type EventMessageInternal = {
correlationId: string;
processDefinitionId: string;
processModelId: string;
embeddedProcessModelId?: string;
processModelName?: string;
processInstanceId: string;
parentProcessInstanceId?: string;
flowNodeId?: string;
flowNodeName?: string;
flowNodeLane?: string;
flowNodeType?: BpmnType;
flowNodeInstanceId?: string;
previousFlowNodeInstanceId?: string;
processInstanceOwner: Identity;
currentToken: any;
eventType?: EventType;
eventName?: string;
eventId?: string;
messageChannel?: string;
signalChannel?: string;
/**
* Optional: Process Instances triggered by this Message will use the following Correlation ID.
*/
customCorrelationId?: string;
flowNodeInstanceState?: FlowNodeInstanceState;
};