Workflow Related Operations

19.4.3.12 WF_ResetWorkflowByAssetCode

DESCRIPTION 

Allows an authenticated user to reset a workflow launched for an asset identified with a specific code and present in a particular installation.

This operation is helpful in, for example, managing federated assets exported into the current site from an external site (the requester).

INPUT

  • _user: Login name of the executor;
  • _pwd: Password of the executor
  • _instanceClass: id of the T-workflow to be reset;
  • _assetCode: Code of the target asset;
  • _installation: License number of the asset's source site;

OUTPUT 

<Result Code="0" Description="Success"/>

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="Result" minOccurs="0" maxOccurs="unbounded">
              <xs:complexType>
                <xs:attribute name="Code" type="xs:string" />
                <xs:attribute name="Description" 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>