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

  Name Description
public field static ApprovalCompleteEmailTemplateProperty The DependencyProperty object that promotes the ApprovalCompleteEmailTemplate property.
public field static ApprovalDeniedEmailTemplateProperty The DependencyProperty object that promotes the ApprovalDeniedEmailTemplate property.
public field static ApprovalEmailTemplateProperty The DependencyProperty object that promotes the ApprovalEmailTemplate property.
public field static ApprovalResponseCreateParametersProperty Reserved for future use.
public field static ApprovalTimeoutEmailTemplateProperty The DependencyProperty object that promotes the ApprovalTimeoutEmailTemplate property.
public field static ApproversProperty The DependencyProperty object that promotes the Approvers property.
public field static DurationProperty The DependencyProperty object that promotes the ApprovalTimeoutEmailTemplate property.
public field static EscalationEmailTemplateProperty The DependencyProperty object that promotes the EscalationEmailTemplate property.
public field static EscalationProperty The DependencyProperty object that promotes the Escalation property.
public field static ThresholdProperty The DependencyProperty object that promotes the Escalation property.
public field updateParameters This API supports the FIM 2010 infrastructure. Using this API directly from your code is not supported.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property Activities  (Inherited from CompositeActivity)
public property 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.
public property 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.
public property ApprovalDeniedEmailTemplate Contains a reference to the ObjectID of the EmailTemplate resource that is sent to the requester if an approval is denied.
public property 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.
public property ApprovalObject Contains a reference to the Approval resource that is created by the activity.
public property ApprovalObjectId Represents the Approval resource that is created by the activity.
public property ApprovalResponseCreateParameters Reserved for future use.
public property ApprovalTimeout Indicates the time that the approvers have to respond to the approval before it escalates or times out.
public property ApprovalTimeoutEmailTemplate Contains a reference to the ObjectID of the EmailTemplate resource that is sent to the requester if the approval times out.
public property ApproverId Reserved for future use.
public property Approvers Indicates the approvers for the request.
public property AutomatedResponseObjectId  
public property CurrentApprovalResponse Represents the type of approval response that is currently being evaluated by the ApprovalActivity.
public property CurrentApprovalResponseActorId Represents the ObjectID of the Person object that sent the ApprovalResponse that is currently being evaluated by the ApprovalActivity.
public property Description  (Inherited from Activity)
public property 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).
public property Enabled  (Inherited from Activity)
public property EnabledActivities  (Inherited from CompositeActivity)
public property Escalation Lists the approvers for the request that are used after the ApprovalTimeout value is reached.
public property 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.
public property ExecutionResult  (Inherited from Activity)
public property ExecutionStatus  (Inherited from Activity)
public property IsApproved Indicates whether the approval request has been approved.
public property IsDynamicActivity  (Inherited from Activity)
public property IsRequestorApprover  
public property Name  (Inherited from Activity)
public property Parent  (Inherited from Activity)
public property QualifiedName  (Inherited from Activity)
public property ReceivedApprovals Indicates the number of approvals that have been received.
public property RejectedReason Contains the value of the Reason attribute of the ApprovalResponse resource that is associated with the activity instance.
public property Request Represents the request associated with the current ApprovalActivity.
public property RequestId Contains a reference to the Request object that the ApprovalActivity was created for, to determine whether the request should be approved or denied.
public property RequestTimedOut Indicates whether the request has timed out.
public property ServiceAccountId Gets the ID of the Forefront Identity Manager Service Account resource.
public property Site  (Inherited from DependencyObject)
public property TargetId Indicates the target of the request.
public property Threshold Contains the total number of approvals that are required for the activity to be approved.
public property UserData  (Inherited from DependencyObject)
public property ValidApprovers Indicates the valid approvers for the request.
public property ValidApproversAndEscalators  
public property ValidEscalators Contains the valid escalation approvers.
public property WorkflowDefinitionId Contains a reference to the workflow that is associated with the ApprovalActivity.
public property WorkflowDictionary Contains information that can be accessed by all activities that are associated with the workflow.

Top

Protected Properties

  Name Description
protected property ParentDependencyObject  (Inherited from DependencyObject)
protected property WorkflowInstanceId  (Inherited from Activity)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method AddHandler  (Inherited from DependencyObject)
public method Clone  (Inherited from Activity)
public method Dispose  (Inherited from DependencyObject)
public method Equals  (Inherited from Object)
public method GetActivityByName  (Inherited from Activity)
public method GetActivityByName  (Inherited from Activity)
public method GetBinding  (Inherited from DependencyObject)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method GetValue  (Inherited from DependencyObject)
public method GetValueBase  (Inherited from DependencyObject)
public method IsBindingSet  (Inherited from DependencyObject)
public method MetaEquals  (Inherited from DependencyObject)
public method RegisterForStatusChange  (Inherited from Activity)
public method RemoveHandler  (Inherited from DependencyObject)
public method RemoveProperty  (Inherited from DependencyObject)
public method Save  (Inherited from Activity)
public method Save  (Inherited from Activity)
public method SetBinding  (Inherited from DependencyObject)
public method SetValue  (Inherited from DependencyObject)
public method SetValueBase  (Inherited from DependencyObject)
public method ToString  Overridden. (Inherited from Object)
public method UnregisterForStatusChange  (Inherited from Activity)

Top

Protected Methods

  Name Description
protected method ApplyWorkflowChanges  (Inherited from CompositeActivity)
protected method Cancel  Overridden. (Inherited from Activity)
protected method Dispose  Overridden. (Inherited from DependencyObject)
protected method Execute  Overridden. (Inherited from Activity)
protected method Finalize  Overridden. (Inherited from Object)
protected method GetBoundValue  (Inherited from DependencyObject)
protected method GetDynamicActivities  (Inherited from CompositeActivity)
protected method GetInvocationList  (Inherited from DependencyObject)
protected method HandleFault  Overridden. (Inherited from CompositeActivity)
protected method InitializeProperties  (Inherited from DependencyObject)
protected method MemberwiseClone  (Inherited from Object)
protected method OnActivityChangeRemove  Overridden. (Inherited from CompositeActivity)
protected method OnClosed  (Inherited from Activity)
protected method OnListChanged  (Inherited from CompositeActivity)
protected method OnListChanging  (Inherited from CompositeActivity)
protected method OnSequenceComplete  (Inherited from SequenceActivity)
protected method OnWorkflowChangesCompleted  Overridden. (Inherited from CompositeActivity)
protected method SetBoundValue  (Inherited from DependencyObject)
protected method TrackData  (Inherited from Activity)
protected method TrackData  (Inherited from Activity)

Top

Public Events

  Name Description
public event Canceling  (Inherited from Activity)
public event Closed  (Inherited from Activity)
public event Compensating  (Inherited from Activity)
public event Executing  (Inherited from Activity)
public event Faulting  (Inherited from Activity)
public event StatusChanged  (Inherited from Activity)

Top

See Also

Reference

ApprovalActivity Class
Microsoft.ResourceManagement.Workflow.Activities Namespace
Microsoft.ResourceManagement.Workflow.Activities
Approvers

Other Resources

ApprovalResponse
Approval