ApprovalTaskProcess ApprovalTaskProcess ApprovalTaskProcess Class

Definition

Provides the base class for all Approval tasks used by the OfficeTask.

public ref class ApprovalTaskProcess : Microsoft::Office::Workflow::Actions::OfficeTask
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(Microsoft.Office.Workflow.Actions.OfficeTaskValidator))]
public class ApprovalTaskProcess : Microsoft.Office.Workflow.Actions.OfficeTask
Public Class ApprovalTaskProcess
Inherits OfficeTask
Inheritance
ApprovalTaskProcessApprovalTaskProcessApprovalTaskProcess
Attributes

Constructors

ApprovalTaskProcess() ApprovalTaskProcess() ApprovalTaskProcess()

Initializes a new instance of the ApprovalTaskProcess class.

Properties

ActiveTaskCount ActiveTaskCount ActiveTaskCount Inherited from OfficeTask
AllowChangeRequest AllowChangeRequest AllowChangeRequest

Indicates whether a user can request a change to a workflow task.

(Inherited from OfficeTask)
AllowReassign AllowReassign AllowReassign

Indicates whether a user can reassign a workflow task to someone else.

(Inherited from OfficeTask)
AssignedTaskCount AssignedTaskCount AssignedTaskCount Inherited from OfficeTask
AssignedTo AssignedTo AssignedTo

Returns the names of the people assigned to the tasks in a task process.

(Inherited from OfficeTask)
Assignments Assignments Assignments

A container of all of the initial stages for this OfficeTask.

(Inherited from OfficeTask)
CC CC CC

Returns an array of user names or e-mail addresses included on the CC line of task process notification e-mail messages.

(Inherited from OfficeTask)
CCList CCList CCList

A string form of the CC property in the format of Microsoft.Office.Workflow.Utility.Contact XML

(Inherited from OfficeTask)
Comments Comments Comments

Returns the value of the Description field of task list items that are created by the task process.

(Inherited from OfficeTask)
CompletedTaskCount CompletedTaskCount CompletedTaskCount

Returns the number of tasks in the task process that are marked as completed.

(Inherited from OfficeTask)
ConsolidatedComments ConsolidatedComments ConsolidatedComments Inherited from OfficeTask
ContentTypeId ContentTypeId ContentTypeId

Returns the value of the ContentTypeId property of the task.

(Inherited from OfficeTask)
CurrentUICulture CurrentUICulture CurrentUICulture

Correct CultureInfo to use for UI this OfficeTask process

(Inherited from OfficeTask)
CurrentWeb CurrentWeb CurrentWeb

The SPWeb of this workflow, with its Site.CurrentUser set according to impersonation settings in the workflow

(Inherited from OfficeTask)
DeletedTaskCount DeletedTaskCount DeletedTaskCount

The number of deleted tasks for this OfficeTask process

(Inherited from OfficeTask)
DeleteTasksOnComplete DeleteTasksOnComplete DeleteTasksOnComplete

Indicates whether the child tasks of the task process should be deleted when they are marked as completed.

(Inherited from OfficeTask)
DueDate DueDate DueDate

Returns the date when child tasks of the task process are due to be completed.

(Inherited from OfficeTask)
Duration Duration Duration

Returns the amount of time from when the task was initially created to when it is due to be completed.

(Inherited from OfficeTask)
DurationUnit DurationUnit DurationUnit

Get or sets an enumeration value that indicates whether the value of the Duration property is counted in days, weeks, or months.

(Inherited from OfficeTask)
ExpandGroups ExpandGroups ExpandGroups

Indicates whether a task is assigned to each member of a group or to an entire group.

(Inherited from OfficeTask)
FutureTaskCount FutureTaskCount FutureTaskCount Inherited from OfficeTask
Item Item Item

The SPListItem indicated by this OfficeTask's ItemId property

(Inherited from OfficeTask)
ItemCreatedBy ItemCreatedBy ItemCreatedBy

loginName of the SPUser who created the item for this OfficeTask process

(Inherited from OfficeTask)
ItemExternalURL ItemExternalURL ItemExternalURL Inherited from OfficeTask
ItemId ItemId ItemId

Returns the ID of the of list item that represents the workflow task that the task process is executing against.

(Inherited from OfficeTask)
ItemModifiedBy ItemModifiedBy ItemModifiedBy

loginName of the SPUser who last modified the item for this OfficeTask process

(Inherited from OfficeTask)
ItemTitle ItemTitle ItemTitle

encoded title property of the SPListItem for this OfficeTask process

(Inherited from OfficeTask)
ItemTitleNotEncoded ItemTitleNotEncoded ItemTitleNotEncoded

unencoded title property of the SPListItem for this OfficeTask process

(Inherited from OfficeTask)
ItemURL ItemURL ItemURL

encoded web-relative URL for the item for this OfficeTask process

(Inherited from OfficeTask)
List List List

The SPList indicated by this OfficeTask's ListId property

(Inherited from OfficeTask)
ListId ListId ListId

Returns the ID of the list that contains the workflow task that the task process is executing against.

(Inherited from OfficeTask)
Outcomes Outcomes Outcomes

A list of outcomes for all tasks in this process, in the form of "display1,outcome1;display2,outcome2"

(Inherited from OfficeTask)
OverdueRepeat OverdueRepeat OverdueRepeat

Gets or sets an object that represents the frequency with which OnTaskExpired should run, if the task is past the due date and not yet completed.

(Inherited from OfficeTask)
OverdueRepeatTimes OverdueRepeatTimes OverdueRepeatTimes

Gets or sets a value that represents the number of times that OnTaskExpired should be run on the frequency of OverdueRepeat, if the task is past the due date and not yet complete.

(Inherited from OfficeTask)
ParticipantList ParticipantList ParticipantList

A list of display name of each participant. This is delimited as if it were a multi-user lookup e.g."1;#John Doe;#2;#Jane Roe;#3;#FrontPage Lab Account"

(Inherited from OfficeTask)
PermissionSet PermissionSet PermissionSet

Returns the set of permissions associated with the workflow task list items that are generated as part of the task process.

(Inherited from OfficeTask)
SendDefaultTaskNotifications SendDefaultTaskNotifications SendDefaultTaskNotifications

Indicates whether default task notifications are sent for a task created by the task process.

(Inherited from OfficeTask)
Subject Subject Subject

Returns the value of the Subject property of a workflow task.

(Inherited from OfficeTask)
SuperWeb SuperWeb SuperWeb

an SPWeb created from an SPSite impersonated as the process account

(Inherited from OfficeTask)
TaskDeletedOutcome TaskDeletedOutcome TaskDeletedOutcome

Gets or sets a value that represents which key in the TaskResults hash table needs to be incremented if a task is deleted.

(Inherited from OfficeTask)
TaskProcessName TaskProcessName TaskProcessName

Gets or sets the name of the task process.

(Inherited from OfficeTask)
TaskProcessOwner TaskProcessOwner TaskProcessOwner

Returns the name of the owner of the task process.

(Inherited from OfficeTask)
TaskProcessWasCanceled TaskProcessWasCanceled TaskProcessWasCanceled

Bind to check if this task process has been canceled

(Inherited from OfficeTask)
TaskResults TaskResults TaskResults

Returns the results of a task process.

(Inherited from OfficeTask)
WebURL WebURL WebURL

The full url pointing to the web. e.g."http://www.fabrikam.com:8080/foo/bar" or "http://www.fabrikam.com/foo/bar"

(Inherited from OfficeTask)
__ActivationProperties __ActivationProperties __ActivationProperties

A activation properties for this OfficeTask's workflow. This property is recommended to be set.

(Inherited from OfficeTask)
__Context __Context __Context

An optional WorkflowContext for this OfficeTask. Binding this property is reccomended.

(Inherited from OfficeTask)

Methods

AllowEnableModificationUpdateAllTasks() AllowEnableModificationUpdateAllTasks() AllowEnableModificationUpdateAllTasks()

Override this function to allow or disallow the UpdateAllTasks modificiation for this OfficeTask process

(Inherited from OfficeTask)
AllowEnableModificationUpdateReviewers() AllowEnableModificationUpdateReviewers() AllowEnableModificationUpdateReviewers()

Override this function to allow or disallow the UpdateReviewers modificiation for this OfficeTask process

(Inherited from OfficeTask)
AllowEnableWorkflowModificationCancelTaskProcess() AllowEnableWorkflowModificationCancelTaskProcess() AllowEnableWorkflowModificationCancelTaskProcess()

Override this function to allow or disallow the CancelTask modificiation for this OfficeTask process

(Inherited from OfficeTask)
AssignNextSetOfTasks(ActivityExecutionContext, ITaskService) AssignNextSetOfTasks(ActivityExecutionContext, ITaskService) AssignNextSetOfTasks(ActivityExecutionContext, ITaskService) Inherited from OfficeTask
AssignNextSetOfTasksForCurrentStage(ActivityExecutionContext, ITaskService) AssignNextSetOfTasksForCurrentStage(ActivityExecutionContext, ITaskService) AssignNextSetOfTasksForCurrentStage(ActivityExecutionContext, ITaskService)

Override this method to alter how new sets of tasks are assigned, stages are evaluated and update existing modifications

(Inherited from OfficeTask)
Cancel(ActivityExecutionContext) Cancel(ActivityExecutionContext) Cancel(ActivityExecutionContext) Inherited from OfficeTask
CreateTaskAssignments() CreateTaskAssignments() CreateTaskAssignments() Inherited from OfficeTask
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Inherited from OfficeTask
EnableModificationUpdateReviewers(ActivityExecutionContext) EnableModificationUpdateReviewers(ActivityExecutionContext) EnableModificationUpdateReviewers(ActivityExecutionContext) Inherited from OfficeTask
Execute(ActivityExecutionContext) Execute(ActivityExecutionContext) Execute(ActivityExecutionContext) Inherited from OfficeTask
GetActivityDetails() GetActivityDetails() GetActivityDetails()

Gets ActivityDetails XML for this OfficeTask process

(Inherited from OfficeTask)
IsChangeAllowed(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, SPWorkflowTaskProperties, String, String) IsChangeAllowed(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, SPWorkflowTaskProperties, String, String) IsChangeAllowed(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, SPWorkflowTaskProperties, String, String)

Override this function to manage if task changes should be rolled back or not Users who are allowed to change the task: 1) AssignedTo for the task, including if the original assigned to was a group, any user of the group. 2) Task process owner (TaskProcessOwner is the login name of the user/group) 3) Members of the site owners group, aka the group pointed to by SPWeb.AssociatedOwnersGroup 4) Site collection admins

(Inherited from OfficeTask)
IsTaskCompleted(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, Hashtable, String, String) IsTaskCompleted(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, Hashtable, String, String) IsTaskCompleted(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, Hashtable, String, String)

Override this method to control how a task determines its completion

(Inherited from OfficeTask)
MoveToNextStage() MoveToNextStage() MoveToNextStage()

Moves the OfficeTask on to the next stage of this OfficeTask process

(Inherited from OfficeTask)
OnTaskCanceled(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, String) OnTaskCanceled(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, String) OnTaskCanceled(ActivityExecutionContext, Guid, SPWorkflowTaskProperties, String)

Override this method to alter behavior when this OfficeTask process has one of its tasks canceled

(Inherited from OfficeTask)
ShouldDelete() ShouldDelete() ShouldDelete()

Override this method to bypass reliance on DeleteTasksOnComplete

(Inherited from OfficeTask)

Explicit Interface Implementations

IActivityEventListener<QueueEventArgs>.OnEvent(Object, QueueEventArgs) IActivityEventListener<QueueEventArgs>.OnEvent(Object, QueueEventArgs) IActivityEventListener<QueueEventArgs>.OnEvent(Object, QueueEventArgs) Inherited from OfficeTask

Applies to