setResourceOrderFilterCriteria

This request sets the default sort and filter criteria on the server for the currently logged on user.

For more information, see getResourceOrderFilterCriteria.

Syntax

com.tibco.wcc.base.Requests.setResourceOrderFilterCriteria(requestId,
                                                           txtFilter,
                                                           txtSort);

Parameters

  • requestId - (String) Uniquely identifies the request. For more information, see Submitting Server Requests.
  • txtFilter - (String) The new filter expression to write to the server. For information about filter syntax, see the "Sorting and Filtering Work Item Lists" topic in the TIBCO ActiveMatrix BPM Developer’s Guide.

    For example:

          startDate < 2011-03-11T00:00:00.000-08:00
  • txtSort - (String) The new sort order to apply to write to the server. Specify the sort field, following by either ASC or DESC, for ascending or descending, respectively. Separate multiple sort fields with commas. For example:
          priority ASC, startDate DESC

    Use the following sort field names in the txtSort parameter:

    Attribute Sort field name
    Attribute #1 - Attribute #40 attribute1 - attribute40
    Distribution Strategy distributionStrategy
    Target Date endDate
    Instance Description appInstanceDescription
    ID appInstance
    Priority priority
    Process Template appName
    Start Date startDate
    Work Item ID id

Returns

No return, other than the request ID (and the return status information):

<ap:Requests>
    <ap:OrderFilterCriteria Id="ApiSample.setResourceOrderFilterCriteria">
    </ap:OrderFilterCriteria>
</ap:Requests>