Sun Worklist Manager Service Engine User's Guide

Initializing Variables Using the Mapper

You can define default values for fields in the task output when it is presented to users on the Worklist Manager Console. When users complete the tasks, they can accept the default values or change them.

ProcedureTo Initialize Variables 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 Task Definition Editor toolbar, click the Mapper tab.

    The Task Mapper appears.

    Figure shows the Task Editor Mapper view.
  5. In the context field, select Init Variables.

  6. Expand the tree in the left pane until the field you want to initialize visible, and then select that field.

  7. In the Mapper toolbar, click String and then select String Literal.

    The String Literal function box is added to the mapping panel.


    Note –

    You can use any combination of functions that you need to define the initialized value. String Literal is used here for illustration purposes.


  8. Enter a literal value into the function box, and map it to the output.

    Figure shows a variable initialization in the
Mapper.