This documentation is archived and is not being maintained.

StatusColumnValue Element (Workflow)

Windows SharePoint Services 3

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>

Attribute

Description

None

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.

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>
Show: