Data Passed in XML to IPlugin Methods

Workflow Manager 2016

When IPlugin methods pass workflow request data to the Workflow Manager database, it is in the following XML format:

<ApplicationInfo>

    <CompanyName>Requester</CompanyName>

    <AppId>876fb7b8-c51b-4aba-a3bc-7f19f7aebdae</AppId>

    <AppSName>AppName</AppSName>

    <AppLName>AppNameLong</AppLName>

    <UserName>7b31351c-f90c-4966-a61b-4d4626d86037</UserName>

    <StepID>e2c568c9-b9a6-46df-aecd-20c715cb277f</StepID>

    <PhaseID>da1f2878-de05-471b-8043-45b62990c7e6</PhaseID>

    <StepName>SomeWorkflowStep</StepName>

    <StepType>14</StepType>

    <BinaryFiles>

        <BinaryFile>

            <BinaryName />

            <BinarySize />

            <BinaryType />

            <BinarySavedLocation />

        </BinaryFile>

    </BinaryFiles>

    <MetaDatas>

        <MetaData>

            <DataName>Name</DataName>

            <DataValue>Ravneet</DataValue>

            <DataChanged>NO</DataChanged>

        </MetaData>

    </MetaDatas>

</ApplicationInfo>

The following table describes the elements contained in this XML file:

XML Data Passed to IPlugin Methods

Data Element

Description

<CompanyName>

Name of company that submitted this workflow request.

<AppId>

Number that uniquely identifies this workflow request in the database.

Note • This number is not the Request number that is displayed in the Workflow Manager interface.

<AppSName>

First eight characters of the name of the workflow request that was entered at submission.

<AppLName>

Full name of the workflow request that was entered at submission.

<UserName>

User ID of the user who submitted this workflow request.

<StepID>

GUID that uniquely identifies the workflow step that this event is associated with.

<PhaseID>

GUID that uniquely identifies the phase in this workflow request that this event is associated with.

<StepName>

Name of workflow step that this event is associated with

<StepType>

Step type of workflow step that this event is associated with

<BinaryFiles>

Identifies the beginning of a group of uploaded files.

<BinaryFile>

Identifies the beginning of a group of elements that identify one uploaded file. There is one <BinaryFile> element for each uploaded file.

<BinaryName>

Name of file that was uploaded.

<BinarySize>

Size of the uploaded file.

<BinaryType>

Identifies the file type of the uploaded file.

<BinarySavedLocation>

Location where file the was uploaded.

<Metadatas>

Identifies the beginning of a group of data elements that were collected as part of this workflow request.

<Metadata>

Identifies the beginning of a one data element that was collected as part of this workflow request. There is one <Metadata> element for each data element submitted.

<DataName>

Name of data element.

<DataValue>

Value entered for that data element.

<DataChanged>

Identifies whether the data has been updated after it was submitted.

No—Data has not been updated.
Yes—Data has been updated.