When you define a task using the Task Definition Wizard, the wizard generates a new task definition file, which has a “.wf” extension in the WLM project. The task definition file is in XML format, and can be edited through the Task Definition Editor or by editing the XML text directly. A task generally has an input from the BPEL process, and upon completion generates output back to the BPEL process for continued processing.
The task definition file specifies the following information:
A title and priority for the tasks.
The users and groups which the tasks are assigned.
Keywords by which users can search on the Worklist Manager Console for tasks.
Durations or deadlines by which a task must be completed before it is escalated to the specified users or groups.
Durations or deadlines by which a task will time out if it is not completed.
Email or other types of notifications that are sent out when certain events occurs, such as a task being created, completed, or escalated.
Default values for task output fields (implemented as variable initializations).
Variable updates that are made when a task status changes, such as inserting the timestamp in a date field when a task is completed.