StatusColumnValue Element (Workflow)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a custom workflow status column value.
Definition
<StatusColumnValue>
</StatusColumnValue>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
None
Parent elements
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>