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
Name | Description |
---|---|
IsSessionStarterObject | Gets whether this execution is for a session starter object. |
Cancel | A boolean property that can be set to true to cancel the execution of the workflow step, preventing it from continuing. |
Step | Gets the arguments containing information about the current workflow step. |
Context | Gets the business context in which the workflow step is being executed. |
ProcessId | Gets the unique identifier of the workflow process instance. |
Constructors
Name | Description |
---|---|
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. |