Sun Worklist Manager Service Engine User's Guide

Defining Trigger Actions Using the Mapper

You can define actions that change or assign a value to the output message when a task is changed to a specific status. For example, you could use this feature to assign a timestamp to the task output.

ProcedureTo Define Trigger Actions Using the Mapper

  1. Complete the steps under Assigning Users and User Groups to a Task.

  2. If the task definition is not opened, open the file in the Task Definition Editor.

  3. On the Task Definition Editor, click the Actions tab.

  4. In the middle of the Actions window, click Add.

  5. Enter a name for the action.

  6. Select the status that will trigger the action.

    When a task changes to the status specified here, the action you define is triggered.

  7. In the Task Definition Editor toolbar, click the Mapper tab.

    The Task Mapper appears.

    Figure shows the Task Editor Mapper view.
  8. In the context field, select the name of the action you just defined.

  9. Expand the variable trees until the fields you want to map are visible.

  10. To pass a value from an input field to an output field with no changes, select the input field in the left pane and drag a connector to the output field in the right pane.

  11. To transform a value from an input field before passing it to an output field, use the operators in the Task Mapper toolbar. For more information, see Using the Task Mapper.

    Figure shows mapped variables.