共用方式為


New Workflow Activities for SharePoint Foundation

Applies to: SharePoint Foundation 2010

New Workflow Activities for SharePoint Foundation

The following is a list of the new activities installed with Microsoft SharePoint Foundation:

Activity Name

Description

AddArrayIntoArrayListActivity

Adds an ArrayList object into another specified ArrayList.

CoerceActivity

The base class for all coercion activities that are used to take user input and attempt to coerce or cast the provided value into a certain data type.

CoerceBooleanActivity

Takes a provided object and tries to cast it into a Boolean value.

CoerceDateTimeActivity

Attempts to change a value to a DateTime object.

CoerceDoubleActivity

Attempts to change a value to a Double object.

CoerceIntActivity

Attempts to change a value to a Double object.

CoerceSPItemKeyActivity

Attempts to change a value to a SPItemKey object.

CoerceStringActivity

Attempts to change a value to a String object.

CommentActivity

Provides a means of updating the comments field in a specified workflow instance.

DateIntervalActivity

Provides information about the interval between two specific dates, like total hours, minutes and seconds.

DynamicStringActivity

Builds a string containing workflow variables (i.e. list name, creation date) for use in a specified workflow instance.

ErroredMarkupActivity

Provides a way to handle exceptions that are encountered when the markup generated for a declarative workflow is invalid.

ExtractSubstringFromEndActivity

Extracts the specified string from the end of a given value.

ExtractSubstringFromIndexActivity

Extracts a substring from a specified string at a given string index.

ExtractSubstringFromIndexLengthActivity

Extracts a substring from a workflow variable string at a given index in the string and for a specified length.

ExtractSubstringFromStartActivity

Extracts a substring from the beginning of a workflow variable string.

HTLookupActivity

Provides a means of looking up a value in the workflow properties HashTable.

ImpersonationSequenceActivity

Runs a set of child activities in order to elevate the security context of a running workflow instance.

PersistOnCloseActivity

Ensures that values are persisted when the ActivityExecutionStatus activity is closed.

SetCustomWorkflowStatus

Used to set the status of a workflow to a specified value.

SubmitFileActivity

Submits a file to a specified document repository.

WaitForDocumentUnlockActivity

A base class activity that pauses the workflow until a specified document is unlocked.