Configuring Presentation Parameters for a Task or Notification Subject or Description
Configuring Presentation Parameters for a Task or Notification Subject or Description
Provide presentation details for the task or notification.
The task Subject property defines the basic information for users to know what the task is all about. The subject line is similar to an email subject line, and is displayed similarly.
The task Description property can be lengthy and is displayed in the Additional Information section of a task.
You can specify the subject and description by using presentation parameters, which are expression-based variables that can be included in text. For example, a subject might be composed as:
Approve the insurance claim for {$lastname}, {$firstname}.
In this example the parameters, enclosed by curly braces, are configured by referring to child elements in an input message.
Presentation parameters can be based on input data unique to a task instance, making each subject line or description unique.
See the example in topics that follow.
In addition, you can add multi-lingual (localization) support for a Subject. For details, see
Adding MultiLingual Support for Task Subject, Description, and Display Name
.
You can also use Presentation Parameters to create custom task properties. For details, see
Creating Custom Task Properties
.
To Configure Presentation Parameters:
Put the Presentation tab of a task in focus in the Properties view.
Select the Dialog button at the end of either the Subject or Description field.
In the
Presentation Parameters
dialog, select
Add
. The placeholders
param
and
string
are added to a row.
Type over
param
with a meaningful
Parameter
name, such as the name of an input message part you will use in the parameter expression. For example, type in
lastname
.
Select the parameter Type from a drop-down list. The type is a simple XSD type. The type
string
is selected by default.
Click (...) in the
Expression
column.
Create an expression in the Expression Builder.
Tip:
Use one of the BPEL4People custom functions to return data from a task input message. See the example below.
The following illustration shows an example of presentation parameters within the Subject.