Skip to main content

OnAfterEventArguments

The OnAfterEventArguments class represents the arguments passed to an event handler that is executed after an event in the workflow. It extends OnEventArguments and adds the EventFormId property.

Properties

NameDescription
EventFormIdGets the ID of the event form associated with the event.
ContextGets the business context in which the workflow step is being executed.
EventCodeThe event code of the event.
ActionerTypeThe ApproverType enum represents the various types of approvers in a workflow process, indicating how approval is handled.
StepGets the arguments containing information about the current workflow step.
ReasonA dictionary containing the reason for the action taken.
ProcessIdGets the unique identifier of the workflow process instance.
IsSessionStarterObjectGets whether this execution is for a session starter object.
ResultEventCodeThe result event code after the event has been processed.
ActionerUserIdThe ID of the user who performed the action.

Constructors

NameDescription
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.
OnAfterEventArguments(step, processId, isSessionStarterObject, context)Initializes a new instance of the OnAfterEventArguments class with complete workflow execution information.
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.