StatusColumnValue Element (Workflow)
Applies to: SharePoint Foundation 2010
Specifies a custom workflow status column value.
<StatusColumnValue>
</StatusColumnValue>
Attributes
Attribute |
Description |
---|---|
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>
See Also
Concepts
Workflow Deployment Using Features