Class ApprovalEventArgs
Argument to ApprovalEvent activity
Inheritance
System.Object
ApprovalEventArgs
Namespace: EPiServer.WorkflowFoundation.Workflows
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0Syntax
public class ApprovalEventArgs : ExternalDataEventArgs
Constructors
ApprovalEventArgs(Boolean, String, String, String, Guid, PageReference)
Initializes a new instance of the ApprovalEventArgs class.
Declaration
public ApprovalEventArgs(bool approved, string approver, string taskOwner, string message, Guid workflowInstanceId, PageReference pageLink)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | approved | if set to |
System.String | approver | The approver. |
System.String | taskOwner | The task owner. |
System.String | message | The message regarding the approval |
System.Guid | workflowInstanceId | The workflow instance id. |
PageReference | pageLink | The page version to approve |
Properties
Approved
Gets a value indicating whether this ApprovalEventArgs is approved.
Declaration
public bool Approved { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Approver
Gets the name of the approver
Declaration
public string Approver { get; }
Property Value
Type | Description |
---|---|
System.String | The approver. |
Message
Gets the message from the approver
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |
PageLink
Gets the page link for the page version that this approval concerns
Declaration
public PageReference PageLink { get; }
Property Value
Type | Description |
---|---|
PageReference | The page link. |
TaskOwner
Gets the name of the person/group the related task was assigned to.
Declaration
public string TaskOwner { get; }
Property Value
Type | Description |
---|---|
System.String | The task owner. |