Workflow Related Operations

19.4.3.9 WF_GetWorkflowStatusByAssetCode

DESCRIPTION: 

Returns workflow status on an asset with the given code and installation.

INPUT

  •  _user:  Login name of the executor.
  • _pwd: Password of the executor.
  • _instanceClass: Id of the T-workflow to be aborted.
  • _assetCode: Code of the target asset.
  • _installation: License code.
input_GetWorkflowStatusByAssetCode

OUTPUT

<string xmlns="http://www.etere.eu/EtereWSApi"><?xml version="1.0" encoding="utf-8"?> <WSApiResponse> <Function Name="WF_GetWorkflowStatus"> <WKF status="Workflow abort" ucode="i.abort"><Action/></WKF> </Function> </WSApiResponse> </string>

output_GetWorkflowStatusByAssetCode

XSD (XML Schema Definition)

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="WSApiResponse" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="WSApiResponse" msdata:IsDataSet="true" msdata:Locale="en-US">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="Function">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="WKF" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Action" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:attribute name="name" type="xs:string" />
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="status" type="xs:string" />
                <xs:attribute name="ucode" type="xs:string" />
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="Name" type="xs:string" />
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>
</xs:schema>

output_GetWorkflowStatusByAssetCode
input_GetWorkflowStatusByAssetCode