StatusColumnValue Element (Workflow)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements

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: