Table of Contents

Interface IWorkflowEventContext

Namespace
Acuit.Pinpoint.Workflows.Workstation
Assembly
Acuit.Pinpoint.Workflows.Workstation.dll

Context for a workflow executing to handle a raised event.

public interface IWorkflowEventContext

Properties

WorkflowEvent

Gets the event.

WorkflowEvent WorkflowEvent { get; }

Property Value

WorkflowEvent

Methods

TryPopBaseHandler(out IActivity, out WorkflowEventHandlerOptions)

Tries to pop the next base (i.e., the previously-registered or default) workflow event handler from the stack of handlers.

bool TryPopBaseHandler(out IActivity workflow, out WorkflowEventHandlerOptions workflowOptions)

Parameters

workflow IActivity

On return, this will be the next base workflow event handler if one was available.

workflowOptions WorkflowEventHandlerOptions

On return, if a base workflow event handler was available, this will be its WorkflowEventHandlerOptions (i.e., if workflow is not null, this will not be null).

Returns

bool

true if a base workflow event handler was available; otherwise false.