This optional element identifies the field of an XSD simple type variable in the output message that 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 an Process Developer task client, 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
that can be used to quickly locate a task within the a task client application. 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 a task client, 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 Process Developer task client, a user would enter a five-digit number in the Search By field, such as "12345", to locate a particular task.