You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to add a diagram to explain how event are fired in an implementation of the IWorkflowDispatcher :
Event can be fired when :
starting
resuming existing
resuming on a bookmark
...
For example, in an custom implementation that dispatch execution in specific process (in a multi-process execution), we must know what is the order of event to ensure getting the right execution context of the workflow and not missing something.
publicinterfaceIWorkflowDispatcher{/// <summary>/// Dispatches a request to execute the specified workflow definition./// </summary>Task<DispatchWorkflowResponse>DispatchAsync(DispatchWorkflowDefinitionRequestrequest,DispatchWorkflowOptionsoptions,CancellationTokencancellationToken=default);/// <summary>/// Dispatches a request to execute the specified workflow instance./// </summary>Task<DispatchWorkflowResponse>DispatchAsync(DispatchWorkflowInstanceRequestrequest,DispatchWorkflowOptionsoptions,CancellationTokencancellationToken=default);/// <summary>/// Starts all workflows and resumes existing workflow instances based on the specified activity type and bookmark payload./// </summary>Task<DispatchWorkflowResponse>DispatchAsync(DispatchTriggerWorkflowsRequestrequest,DispatchWorkflowOptionsoptions,CancellationTokencancellationToken=default);/// <summary>/// Resumes the workflow waiting for the specified bookmark./// </summary>Task<DispatchWorkflowResponse>DispatchAsync(DispatchResumeWorkflowsRequestrequest,DispatchWorkflowOptionsoptions,CancellationTokencancellationToken=default);}
The text was updated successfully, but these errors were encountered:
The idea is to add a diagram to explain how event are fired in an implementation of the IWorkflowDispatcher :
Event can be fired when :
For example, in an custom implementation that dispatch execution in specific process (in a multi-process execution), we must know what is the order of event to ensure getting the right execution context of the workflow and not missing something.
The text was updated successfully, but these errors were encountered: