OnAfterEventArguments Constructors
An object defining constructors for the OnAfterEventArguments class.
OnAfterEventArguments(eventCode, resultEventCode, actionerUserId, actionerType, reason, step, processId, isSessionStarterObject, context)
Constructor for the OnAfterEventArguments class. Initializes a new instance of OnAfterEventArguments with the specified parameters.
Parameters:
eventCode (required): int
The event code of the event.
resultEventCode (required): int
The result event code after the event has been processed.
actionerUserId (required): long
The ID of the user who took action.
actionerType (required): ApproverType
The type of approver (user, position, etc.) performing the action.
reason (required): Dictionary<string, string>
A dictionary containing the reason for the action taken.
step (required): StepArguments
The step arguments for the workflow step.
processId (required): long
The ID of the process where the event is part of.
isSessionStarterObject (required): bool
Indicates whether this is the session starter object.
context (required): #linkDocument(csharp-Bimser.Synergy.Entities.Shared.Business.Objects.Context)
The context in which the event is being executed.
OnAfterEventArguments(step, processId, isSessionStarterObject, context)
Initializes a new instance of the OnAfterEventArguments 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 OnAfterEventArguments 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.
OnAfterEventArguments(eventFormId, eventCode, resultEventCode, actionerUserId, actionerType, reason, step, processId, isSessionStarterObject, context)
Constructor for the OnAfterEventArguments class. Initializes a new instance of OnAfterEventArguments with the specified parameters.
Parameters:
eventFormId (required): int
The ID of the event form.
eventCode (required): int
The event code of the event.
resultEventCode (required): int
The result event code after the event has been processed.
actionerUserId (required): long
The ID of the user who took action.
actionerType (required): ApproverType
The type of approver (user, position, etc.) performing the action.
reason (required): Dictionary<string, string>
A dictionary containing the reason for the action taken.
step (required): StepArguments
The step arguments for the workflow step.
processId (required): long
The ID of the process where the event is part of.
isSessionStarterObject (required): bool
Indicates whether this is the session starter object.
context (required): #linkDocument(csharp-Bimser.Synergy.Entities.Shared.Business.Objects.Context)
The context in which the event is being executed.