Designer 10.15 | webMethods BPM Task Development Help | Working with Task Searches | Implementing an Indexed Search Content Provider for Existing Task Types | Setting the Sorting Bindings for Custom Inbox TaskInfo Columns
 
Setting the Sorting Bindings for Custom Inbox TaskInfo Columns
The Update Task Client Options wizard attempts to modify the sorting bindings configuration for custom inbox columns that display TaskInfo fields (value bindings configuration for TaskInfo fields does not change)
The configuration of sorting binding expressions is different depending on the type of Task Search Provider that is used. For some TaskInfo fields, the data being returned undergoes additional translation before it is displayed in the inbox table. For example, the value for priority is translated to the displayed priority name (medium > Medium). The same translated values are used for table sorting.
For tasks using the standard search, this sorting is done by the table control at the custom inbox application level. When an indexed search is used, the sorting is done directly in the database; therefore, sorting on translated values is not possible, and the binding expression for the table column "sort" property needs to be modified to use the original field value instead of the translated value.
The following table lists the result table columns that require and support modifications:
Results Table Column
Standard Search Expression
Indexed Search Expression
DelegatedTo
#{activePageBean.
taskDisplayProvider.
delegatedToCurrentUser}
NOT SUPPORTED
DelegatedFrom
#{activePageBean.
taskDisplayProvider.
delegatedFromCurrentUser}
NOT SUPPORTED
TaskID
#{activePageBean.
taskDisplayProvider.
taskIDNumber}
#{row.taskInfo.taskID}
Priority
#{activePageBean.
taskDisplayProvider.
priorityDisplayName}
#{row.taskInfo.priority}
CreatedBy
#{activePageBean.
taskDisplayProvider.
createdByDisplayName}
#{row.taskInfo.createdBy}
LastModifiedBy
#{activePageBean.
taskDisplayProvider.
lastModifiedDisplayName}
#{row.taskInfo.lastModifiedBy}
TaskTypeName
#{activePageBean.
taskDisplayProvider.
taskTypeDisplayName}
#{row.taskInfo.taskTypeID}
AssignedToList
NOT SUPPORTED
NOT SUPPORTED
AcceptedByList
NOT SUPPORTED
NOT SUPPORTED
If the task application has been customized, the wizard may not be able to make these changes. If you have customized packages, locate these sorting and binding values and change them as noted above.
These values can be viewed on the Sorting page of the Properties view; to do so:
1. Open the default view of the Task Inbox Results portlet (or equivalent customized portlet) in the task editor.
2. In the task editor, expand the Search Results Table, and click the column you want to work with.
3. Click the Sorting page of the Properties view
Related Topics