SetMultipleDataElements

Workflow Manager 2020

You can use the SetMultipleDataElements web method to populate the values of multiple data elements for multiple data groups of the workflow request currently stored in the session.

You use the SetMultipleDataElements web method along with an XML file containing the data group names, data element names, and values, such as the following:

<XML>

    <DataGroup Name="DG1">

        <Element Name="S1" Value="value"/>

        <Element Name="S2" Value="value"/>

        <Element Name="S3" Value="value"/>

        <Element Name="S4" Value="value"/>

        <Element Name="S5" Value="value"/>

        <Element Name="S6" Value="value"/>

        <Element Name="S7" Value="value"/>

        <Element Name="S8" Value="value"/>

    </DataGroup>

    <DataGroup Name="DG2">

        <Element Name="S1" Value="2"/>

    </DataGroup>

</XML>

Note:These XML tags are case sensitive.

When you then call the SubmitWorkflowRequest web method to submit the workflow request, the data will be populated.

Note:If you want to accept the data as well, pass the value True.