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.
Complete the steps under Assigning Users and User Groups to a Task.
If the task definition is not opened, open the file in the Task Definition Editor.
On the Task Definition Editor, click the Actions tab.
In the Task Definition Editor toolbar, click the Mapper tab.
The Task Mapper appears.
In the context field, select Init Variables.
Expand the tree in the left pane until the field you want to initialize visible, and then select that field.
In the Mapper toolbar, click String and then select String Literal.
The String Literal function box is added to the mapping panel.
You can use any combination of functions that you need to define the initialized value. String Literal is used here for illustration purposes.
Enter a literal value into the function box, and map it to the output.