StatusColumnValue Element (Workflow)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a custom workflow status column value.

<StatusColumnValue>
</StatusColumnValue>

Attributes

Attribute

Description

None

Child Elements

None.

Parent Elements

ExtendedStatusColumnValues Element (Workflow)

Remarks

Specify your custom status column values as an ordered list. Each status column value corresponds to an integer that represents its place in a 0-based ordered list of column values. Use this integer, rather than the text value you specify here, to refer to the status column value in the workflow code. This enables you to change the status column value in the workflow definition without having to recompile the workflow assembly, as well as making it possible for you to specify localizable status column values.

The first fifteen status column values are reserved for internal use. Therefore, the first status column value you specify is assigned the integer value of 15; the second status value, 16; and so on.

Example

The following example specifies three custom workflow status column values: Canceled, Approved, and Rejected.

<MetaData>
…
  <ExtendedStatusColumnValues>
    <StatusColumnValue>Canceled</StatusColumnValue>
    <StatusColumnValue>Approved</StatusColumnValue>
    <StatusColumnValue>Rejected</StatusColumnValue>
  </ExtendedStatusColumnValues>  
</MetaData>

See Also

Concepts

Workflow Deployment Using Features

Workflow Definition Schema

Other Resources

Workflows in Windows SharePoint Services