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 fieldstatic ActivityContextGuidProperty  (Inherited from Activity)
public fieldstatic ApprovalCompleteEmailTemplateProperty The DependencyProperty object that promotes the ApprovalCompleteEmailTemplate property.
public fieldstatic ApprovalDeniedEmailTemplateProperty The DependencyProperty object that promotes the ApprovalDeniedEmailTemplate property.
public fieldstatic ApprovalEmailTemplateProperty The DependencyProperty object that promotes the ApprovalEmailTemplate property.
public fieldstatic ApprovalResponseCreateParametersProperty Reserved for future use.
public fieldstatic ApprovalTimeoutEmailTemplateProperty The DependencyProperty object that promotes the ApprovalTimeoutEmailTemplate property.
public fieldstatic ApproversProperty The DependencyProperty object that promotes the Approvers property.
public fieldstatic CancelingEvent  (Inherited from Activity)
public fieldstatic ClosedEvent  (Inherited from Activity)
public fieldstatic CompensatingEvent  (Inherited from Activity)
public fieldstatic DurationProperty The DependencyProperty object that promotes the ApprovalTimeoutEmailTemplate property.
public fieldstatic EscalationEmailTemplateProperty The DependencyProperty object that promotes the EscalationEmailTemplate property.
public fieldstatic EscalationProperty The DependencyProperty object that promotes the Escalation property.
public fieldstatic ExecutingEvent  (Inherited from Activity)
public fieldstatic FaultingEvent  (Inherited from Activity)
public fieldstatic StatusChangedEvent  (Inherited from Activity)
public fieldstatic 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 associate 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 CanModifyActivities  (Inherited from CompositeActivity)
protected property DesignMode  (Inherited from DependencyObject)
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  Overloaded. (Inherited from CompositeActivity)
public method Equals  Overloaded. (Inherited from Object)
public method GetActivityByName  Overloaded. (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 methodstatic Load  Overloaded. (Inherited from Activity)
public method MetaEquals  (Inherited from DependencyObject)
public methodstatic ReferenceEquals  (Inherited from Object)
public method RegisterForStatusChange  (Inherited from Activity)
public method RemoveHandler  (Inherited from DependencyObject)
public method RemoveProperty  (Inherited from DependencyObject)
public method Save  Overloaded. (Inherited from Activity)
public method SetBinding  (Inherited from DependencyObject)
public method SetValue  (Inherited from DependencyObject)
public method SetValueBase  (Inherited from DependencyObject)
public method ToString  (Inherited from Activity)
public method UnregisterForStatusChange  (Inherited from Activity)
Top

Protected Methods

  Name Description
protected method ApplyWorkflowChanges  (Inherited from CompositeActivity)
protected method Cancel  (Inherited from SequenceActivity)
protected method Dispose  Overloaded. (Inherited from CompositeActivity)
protected method Execute  (Inherited from SequenceActivity)
protected method Finalize  (Inherited from DependencyObject)
protected method GetBoundValue  (Inherited from DependencyObject)
protected method GetDynamicActivities  (Inherited from CompositeActivity)
protected method GetInvocationList  (Inherited from DependencyObject)
protected method HandleFault  (Inherited from SequenceActivity)
protected method Initialize  (Inherited from CompositeActivity)
protected method InitializeProperties  (Inherited from DependencyObject)
protected method Invoke  Overloaded. (Inherited from Activity)
protected method MemberwiseClone  (Inherited from Object)
protected method OnActivityChangeAdd  (Inherited from CompositeActivity)
protected method OnActivityChangeRemove  (Inherited from SequenceActivity)
protected method OnActivityExecutionContextLoad  (Inherited from CompositeActivity)
protected method OnActivityExecutionContextUnload  (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  (Inherited from SequenceActivity)
protected method RaiseEvent  (Inherited from Activity)
protected method RaiseGenericEvent  (Inherited from Activity)
protected method SetBoundValue  (Inherited from DependencyObject)
protected method SetReadOnlyPropertyValue  (Inherited from DependencyObject)
protected method TrackData  Overloaded. (Inherited from Activity)
protected method Uninitialize  (Inherited from CompositeActivity)
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

Explicit Interface Implementations

  Name Description
System.Workflow.ComponentModel.IActivityEventListener.OnEvent  (Inherited from SequenceActivity)
System.ComponentModel.IComponent.Disposed  (Inherited from DependencyObject)
Top

See Also