listProcessTemplateAttributes

This request returns a list of attributes that can be used for filtering or sorting process templates.

Syntax

com.tibco.wcc.base.Requests.listProcessTemplateAttributes(requestId,
                                                          selType);

Parameters

  • requestId - (String) Uniquely identifies the request. For more information, see Submitting Server Requests.
  • selType - (Number) Specifies whether filter attributes or sort attributes are to be returned. 1 = return filter attributes; 2 = return sort attributes.

Returns

Returns an <ap:TemplateAttribute> element for each filter or sort attribute. The <ap:TemplateAttribute> element contains the following elements:

  • <ap:Name> - The name of the filter or sort attribute.
  • <ap:Type> - The type of data stored in the attribute.

For example:

<ap:Requests>
  <ap:TemplateAttributes Id="ApiSample.listProcessTemplateAttributes">
    <ap:TemplateAttribute>
      <ap:Name>DEFINITION.PRIORITY</ap:Name>
      <ap:Type>short</ap:Type>
    </ap:TemplateAttribute>
                 .
                 .
                 .
   </ap:TemplateAttributes>
</ap:Requests>