Class: WorkflowEvent
Represents a WorkflowEvent.
Implements
Constructors
constructor
• new WorkflowEvent(properties?): WorkflowEvent
Constructs a new WorkflowEvent.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowEvent | Properties to set |
Returns
Properties
eventRef
• Optional eventRef: null | IEventReference
WorkflowEvent eventRef.
Implementation of
namespace
• namespace: string
WorkflowEvent namespace.
Implementation of
reference
• Optional reference: "eventRef" | "requestIdRef"
Additional information about the workflow event. Eg: the caller workflow can send the history event details that made the Nexus call.
requestIdRef
• Optional requestIdRef: null | IRequestIdReference
WorkflowEvent requestIdRef.
Implementation of
runId
• runId: string
WorkflowEvent runId.
Implementation of
workflowId
• workflowId: string
WorkflowEvent workflowId.
Implementation of
Methods
toJSON
▸ toJSON(): Object
Converts this WorkflowEvent to JSON.
Returns
Object
JSON object
create
▸ create(properties?): WorkflowEvent
Creates a new WorkflowEvent instance using the specified properties.