Skip to main content

OnBeforeExecutionArguments

The OnBeforeExecutionArguments class represents the arguments passed before the execution of a workflow step, extending from OnExecutionArguments. It includes a Cancel property to control the execution flow by allowing cancellation of the workflow step.

Properties

NameDescription
ContextGets the business context in which the workflow step is being executed.
CancelA boolean property that can be set to true to cancel the execution of the workflow step, preventing it from continuing.
StepGets the arguments containing information about the current workflow step.
ProcessIdGets the unique identifier of the workflow process instance.
IsSessionStarterObjectGets whether this execution is for a session starter object.

Constructors

NameDescription
OnBeforeExecutionArguments(step, processId, isSessionStarterObject, context)Constructor for the OnBeforeExecutionArguments class. Initializes a new instance of OnBeforeExecutionArguments with the specified step arguments, process ID, session starter object status, and context.
OnBeforeExecutionArguments(step, processId, isSessionStarterObject, context)Initializes a new instance of the OnBeforeExecutionArguments class with complete workflow execution information.