-
Notifications
You must be signed in to change notification settings - Fork 2
IWorkflowInstance
zehavibarak edited this page Dec 25, 2023
·
2 revisions
Methods
| Name | Usage |
|---|---|
| Diagram | Configuration |
| StartAsync() | |
| ResumeAsync(nodeId) | |
| ResumeAsync(nodeId, action, args) | |
| ResumeAsync<TArgs>(nodeId, action, TArgs) | |
| Reset() | |
| Finish() | |
| EscalateAsync(recipientId, userId) | |
| EscalateAsync(recipientId, userId, note) | |
| PositionInfo[] GetPositions() | |
| string[] GetPositions(role) | |
| GetPositions(role, key) | |
| string[] GetActions(nodeId) | |
| WorkflowInfo GetInfoAsync() | |
| Notify(Recipient recipient) | |
| Context | Access IWorkflowContext |
Properties
| Name | Usage |
|---|---|
| Nodes | |
| Connectors | |
| Recipients | |
| Log |
The elements of the workflow info has an Estimate property indicating the element is a future route.
Context of the currently executing w/f.
| Name | Usage |
|---|---|
| Time | |
| Pause() | Pause flow. |
| Resume() | Resume flow. |
| Jump() | Skip current node. |
| Note | Set a note in document log record of the executing action or node |
| NodeId | Executing node id in diagram. |
| ActionId | Executing action id, if executing. |
| GetActionArgs<T> | Get the executing action arguments. |
| ExecutionMode | Trace, Info or Realtime |
| Throw() | Raise an exception |
Moding Ltd.