ApprovalActivity Members
An activity that is used to obtain approval for a request.
The following tables list the members exposed by the ApprovalActivity type.
Public Constructors
Name | Description | |
---|---|---|
ApprovalActivity | Initializes a new instance of the ApprovalActivity class with default values. |
Top
Public Fields
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
Activities | (Inherited from CompositeActivity) | |
ActorId | Specifies the resource that is used to calculate management policy rules that affect a request that is created by the activity. Activities can perform only the operations for which the ActorID property has been granted rights. | |
ApprovalCompleteEmailTemplate | Contains a reference to the ObjectID of the EmailTemplate resource that is sent to all approvers when the ApprovalActivity completes execution because the ApprovalThreshold is reached. | |
ApprovalDeniedEmailTemplate | Contains a reference to the ObjectID of the EmailTemplate resource that is sent to the requester if an approval is denied. | |
ApprovalEmailTemplate | Contains a reference to the ObjectID of the EmailTemplate resource that is sent to all approvers to enable them to approve or reject a request. | |
ApprovalObject | Contains a reference to the Approval resource that is created by the activity. | |
ApprovalObjectId | Represents the Approval resource that is created by the activity. | |
ApprovalResponseCreateParameters | Reserved for future use. | |
ApprovalTimeout | Indicates the time that the approvers have to respond to the approval before it escalates or times out. | |
ApprovalTimeoutEmailTemplate | Contains a reference to the ObjectID of the EmailTemplate resource that is sent to the requester if the approval times out. | |
ApproverId | Reserved for future use. | |
Approvers | Indicates the approvers for the request. | |
AutomatedResponseObjectId | ||
CurrentApprovalResponse | Represents the type of approval response that is currently being evaluated by the ApprovalActivity. | |
CurrentApprovalResponseActorId | Represents the ObjectID of the Person object that sent the ApprovalResponse that is currently being evaluated by the ApprovalActivity. | |
Description | (Inherited from Activity) | |
Duration | Indicates the number of days until the activity escalates or times out. The default value is taken from the DefaultTimeout parameter. The default value is 7.00:00:00.0000000 (7 days). | |
Enabled | (Inherited from Activity) | |
EnabledActivities | (Inherited from CompositeActivity) | |
Escalation | Lists the approvers for the request that are used after the ApprovalTimeout value is reached. | |
EscalationEmailTemplate | Contains a reference to the EmailTemplate resource that is used to send an e-mail message to the approvers on the Escalation property after the approval has been escalated. | |
ExecutionResult | (Inherited from Activity) | |
ExecutionStatus | (Inherited from Activity) | |
IsApproved | Indicates whether the approval request has been approved. | |
IsDynamicActivity | (Inherited from Activity) | |
IsRequestorApprover | ||
Name | (Inherited from Activity) | |
Parent | (Inherited from Activity) | |
QualifiedName | (Inherited from Activity) | |
ReceivedApprovals | Indicates the number of approvals that have been received. | |
RejectedReason | Contains the value of the Reason attribute of the ApprovalResponse resource that is associated with the activity instance. | |
Request | Represents the request associated with the current ApprovalActivity. | |
RequestId | Contains a reference to the Request object that the ApprovalActivity was created for, to determine whether the request should be approved or denied. | |
RequestTimedOut | Indicates whether the request has timed out. | |
ServiceAccountId | Gets the ID of the Forefront Identity Manager Service Account resource. | |
Site | (Inherited from DependencyObject) | |
TargetId | Indicates the target of the request. | |
Threshold | Contains the total number of approvals that are required for the activity to be approved. | |
UserData | (Inherited from DependencyObject) | |
ValidApprovers | Indicates the valid approvers for the request. | |
ValidApproversAndEscalators | ||
ValidEscalators | Contains the valid escalation approvers. | |
WorkflowDefinitionId | Contains a reference to the workflow that is associated with the ApprovalActivity. | |
WorkflowDictionary | Contains information that can be accessed by all activities that are associated with the workflow. |
Top
Protected Properties
Name | Description | |
---|---|---|
ParentDependencyObject | (Inherited from DependencyObject) | |
WorkflowInstanceId | (Inherited from Activity) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
AddHandler | (Inherited from DependencyObject) | |
Clone | (Inherited from Activity) | |
Dispose | (Inherited from DependencyObject) | |
Equals | (Inherited from Object) | |
GetActivityByName | (Inherited from Activity) | |
GetActivityByName | (Inherited from Activity) | |
GetBinding | (Inherited from DependencyObject) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
GetValue | (Inherited from DependencyObject) | |
GetValueBase | (Inherited from DependencyObject) | |
IsBindingSet | (Inherited from DependencyObject) | |
MetaEquals | (Inherited from DependencyObject) | |
RegisterForStatusChange | (Inherited from Activity) | |
RemoveHandler | (Inherited from DependencyObject) | |
RemoveProperty | (Inherited from DependencyObject) | |
Save | (Inherited from Activity) | |
Save | (Inherited from Activity) | |
SetBinding | (Inherited from DependencyObject) | |
SetValue | (Inherited from DependencyObject) | |
SetValueBase | (Inherited from DependencyObject) | |
ToString | Overridden. (Inherited from Object) | |
UnregisterForStatusChange | (Inherited from Activity) |
Top
Protected Methods
Top
Public Events
Name | Description | |
---|---|---|
Canceling | (Inherited from Activity) | |
Closed | (Inherited from Activity) | |
Compensating | (Inherited from Activity) | |
Executing | (Inherited from Activity) | |
Faulting | (Inherited from Activity) | |
StatusChanged | (Inherited from Activity) |
Top
See Also
Reference
ApprovalActivity Class
Microsoft.ResourceManagement.Workflow.Activities Namespace
Microsoft.ResourceManagement.Workflow.Activities
Approvers