Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains any additional, custom metadata elements that are valid XML for the workflow.
Definition
<MetaData>
</MetaData>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
None
Parent elements
Occurrences
Minimum: 0 Maximum: 1 |
Remarks
SharePoint Foundation uses the following elements to define additional workflow information in the MetaData element:
InitiationType
Modification_GUID_Name
StatusPageUrl
ExtendedStatusColumnValues
Example
Following is an example of a Metadata element containing information on how the workflow can be initiated, the name of a workflow modification contained in the workflow, and custom status column values.
<MetaData>
<InitiationType>Manual;#OnNewItem;#OnItemUpdate;#OnMajorCheckIn</InitiationType>
<Modification_af71f77b-e6c8-483a-acbf-30b4a84bd209_Name>myWorkflowModification</Modification_af71f77b-e6c8-483a-acbf-30b4a84bd209_Name>
<Modification_Format><my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:my="http://schemas.adventureworks.com/workflows/myXSD">{0}</my:myFields></Modification_Format>
<StatusPageUrl>_layouts/myWrkStat.aspx</StatusPageUrl>
<ExtendedStatusColumnValues>
<StatusColumnValue>Canceled</StatusColumnValue>
<StatusColumnValue>Approved</StatusColumnValue>
<StatusColumnValue>Rejected</StatusColumnValue>
</ExtendedStatusColumnValues>
</MetaData>