--- title: Custom Workflow XML Description ms.custom: "" ms.date: "03/04/2017" ms.prod: sql ms.prod_service: "mds" ms.reviewer: "" ms.technology: ms.topic: "reference" ms.assetid: e267e5f4-38bb-466d-82e8-871eabeec07e author: lrtoyou1223 ms.author: lle --- # Create a Custom Workflow - XML Description [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)] In [!INCLUDE[ssMDSshort](../../includes/ssmdsshort-md.md)], the method is called by SQL Server MDS Workflow Integration Service when a workflow starts. This method receives metadata and data about the item that triggered the workflow business rule as a block of XML. For example code that implements a workflow handler, see [Custom Workflow Example (Master Data Services)](../../master-data-services/develop/create-a-custom-workflow-example.md). The following example shows what the XML that is sent to the workflow handler might look like: ```scr TEST 1 This is my test! Test Workflow 5 Customer 34 Customer 8 1 12 12 8 3 0 2011-02-25T20:16:36.650 2 MyUserName EEF91D48-B673-4D83-B95F-5A363C11DE91 8 VERSION_1 52B788C2-2750-4651-9DB0-2CB05A88AA5A 2011-02-25T20:16:36.650 2 MyUserName EEF91D48-B673-4D83-B95F-5A363C11DE91 8 VERSION_1 52B788C2-2750-4651-9DB0-2CB05A88AA5A Test Customer TC ``` The following table describes some of the tags contained in this XML: |Tag|Description| |---------|-----------------| |\|The text you entered in the **Workflow type** text box in [!INCLUDE[ssMDSmdm](../../includes/ssmdsmdm-md.md)] to identify which custom workflow assembly to load.| |\|A Boolean value controlled by the **Include member data in the message** checkbox in [!INCLUDE[ssMDSmdm](../../includes/ssmdsmdm-md.md)]. A value of 1 means that the \ section is sent; otherwise the \ section is not sent.| ||The text you entered in the **Workflow site** text box in [!INCLUDE[ssMDSmdm](../../includes/ssmdsmdm-md.md)].| ||The text you entered in the **Workflow name** text box in [!INCLUDE[ssMDSmdm](../../includes/ssmdsmdm-md.md)].| |\|Contains the data of the member that triggered the workflow action. This is included only if the value of \ is 1.| |\|This set of tags contains metadata about the creation of the member, such as when it was created and who created it.| |\|This set of tags contains metadata about the last change made to the member, such as when the change was made and who made it.| |\|The first attribute of the member that was changed. This example member contains only Name and Code attributes.| |\|The next attribute of the member that was changed. If this example member contained more attributes, they would follow this one.| ## See Also [Create a Custom Workflow (Master Data Services)](../../master-data-services/develop/create-a-custom-workflow-master-data-services.md) [Custom Workflow Example (Master Data Services)](../../master-data-services/develop/create-a-custom-workflow-example.md)