Skip to main content

OnExecuteEventArguments Constructors

An object defining constructors for the OnExecuteEventArguments class.

OnExecuteEventArguments(step, processId, isSessionStarterObject, context)

Initializes a new instance of the OnExecuteEventArguments class with complete workflow execution information.

Parameters:

step (required): StepArguments
The arguments containing information about the current workflow step being executed.

processId (required): long
The unique identifier of the workflow process instance.

isSessionStarterObject (required): bool
Indicates whether this execution is for a session starter object.

context (required): #linkDocument(csharp-Bimser.Synergy.Entities.Shared.Business.Objects.Context)
The business context in which the workflow step is being executed.

This constructor initializes a new OnExecuteEventArguments instance with all necessary information for workflow execution. It sets up the step arguments, process identification, session status, and business context, providing a complete foundation for workflow event handling. The constructor ensures that all required information is available for derived classes to properly handle workflow execution events.