ActiveVOS Designer BPEL for People User’s Guide

Using Expressions for Outcome and Search By

Outcome

This optional element identifies the field of an xsd simple type variable in the output message which reflects the business result of a task. Using Outcome enables you to create a query to produce an xs:string which represents the outcome of the task. This query is run against the specified part of the output data.

This element is not displayed in the Inbox, but can be useful as part of the HT API.

Search By

This optional element lets you create an expression which produces an xs:string which can be used to quickly locate a task within the Inbox. The expression evaluates using the input data for the task. For example, a loan application request contains several data parts, including an application Id, customer name, and other loan details. The Search By expression may extract the application Id from the input data. In the Inbox, a user can type in an application Id in the Search By field to quickly retrieve a particular task.

The Search By expression created in Designer might be:

htd:getInput('loanPart')/@applicationId

where application Id evaluates to a five-digit number associated with the loan application request. In the Inbox, a user would enter a five-digit number in the Search By field, such as 12345, to locate a particular task.