Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A task defines a step in the process diagram. Tasks can be defined as user tasks or module tasks to execute automated steps in workflow. Every task has a list of actions to complete the step in workflow.

For a task you can configure following common properties for a task:

Name (Not visible on diagram)
Name of task. Name information is not visible to users, and is being used to identify a the task.

Caption
Caption of task. Captions are shown to users and can be localized when needed. Caption may contain the data templates expressions to replace data from data model.

Is Start Point ?
Specifies the task if it is the start point of workflow or not.

Type
Type of the task. Task type can set to A task can be Normal or Module.

Prework
Script to be executed before the task assigned to the role. Please refer refer to Task Prework Script section for more details.

Postwork
Script to be executed after the task is completed. Please refer refer to Task Postwork Script section for more details.

Delayed Execution
Check this field to process this the task in delayed context. By default, Emakin executes task steps in synchronized context until task is assigned to a user or workflow is complete. If you check this field, workflow engine temporarily stops execution at task and commits the current state to database. Remaining execution is performed in another transaction. In some cases you may need to use this field to ensure save current state and perform remaining operations in another error checking context.

...

Start Point

If task is configured as a start point, emakin periodically initiates new instances depending on the schedule and executes the evaluation script. When any action taken, it continues to next step on workflow.

Normal

If task is configured as an intermediate task, emakin periodically checks any waiting tasks and executes the evaluation script on it. When any action taken, it continues to next step on workflow.

...