ActiveVOS Designer BPEL for People User’s Guide

Configuring Presentation Parameters for a Task or Notification Subject or Description

The Subject property of a task 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 in users’ Inboxes.

The task Description property, which gives more detailed information, is displayed in the Task Details page of the Inbox.

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. Also, presentation parameters are particularly useful when multiple languages are supported.

See the examples below.

To configure Presentation Parameters:

  1. Put the Presentation tab of a task in focus in the Properties view.
  2. Select the Dialog button at the end of either the Subject or Description field.
  3. In the Presentation Parameters dialog, select Add. The placeholders param and string are added to a row.
  4. 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.
  5. Select the parameter Type from a drop-down list. The type is a simple XSD type. The type string is selected by default.
  6. Select the Dialog button in the Expression column.
  7. Create an expression in the Expression Builder.
  8. 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.

Presentation Parameters property