OnEventArguments
The OnEventArguments class represents the arguments passed to an event handler in a workflow, containing the event codes, actioner details, and reason for the event.
Properties
Name | Description |
---|---|
EventCode | The event code of the event. |
IsSessionStarterObject | Gets whether this execution is for a session starter object. |
Reason | A dictionary containing the reason for the action taken. |
Step | Gets the arguments containing information about the current workflow step. |
ResultEventCode | The result event code after the event has been processed. |
ActionerType | The ApproverType enum represents the various types of approvers in a workflow process, indicating how approval is handled. |
Context | Gets the business context in which the workflow step is being executed. |
ActionerUserId | The ID of the user who performed the action. |
ProcessId | Gets the unique identifier of the workflow process instance. |
Constructors
Name | Description |
---|---|
OnEventArguments(eventCode, resultEventCode, actionerUserId, actionerType, reason, step, processId, isSessionStarterObject, context) | Constructor for the OnEventArguments class. Initializes a new instance of OnEventArguments with the specified parameters. |
OnEventArguments(step, processId, isSessionStarterObject, context) | Initializes a new instance of the OnEventArguments class with complete workflow execution information. |