listStartTemplates

This request returns a list of process templates that require no input parameters, so they can be started directly without having to invoke a business service that might include forms.

Syntax

com.tibco.wcc.base.Requests.listStartTemplates(requestId);

Parameters

Returns

Returns an <ap:QualifiedProcessName> element for each process template that can be started directly. The <ap:QualifiedProcessName> element contains the following elements:

  • <ap:ModuleName> - The path to the XPDL file that defines the process package”.
  • <ap:ProcessName> - The name of the process template.
  • <ap:Version> - The version of the process template.

For example:

<ap:Requests>
  <ap:ListStartTemplates Id="ApiSample.listStartTemplates">
    <ap:QualifiedProcessNames>
      <ap:QualifiedProcessName>
        <ap:ModuleName>/HelpDesk/Process Packages/HelpDesk.xpdl</ap:ModuleName>
        <ap:ProcessName>InternalHelpDesk</ap:ProcessName>
        <ap:Version>1.0.0.201101101430</ap:Version>
      </ap:QualifiedProcessName>
                    .
                    .
                    .
    </ap:QualifiedProcessNames>
  </ap:ListStartTemplates>
</ap:Requests>