close

Filter

loading table of contents...

Workflow Manual / Version 2010

Table Of Contents

5.3.1 General Rules

Actions can only be used in automated tasks, user tasks or in the predefined RunActionTimerHandler. They are performed at different times:

  • Entry actions are performed when a user accepts a task.

  • Exit actions are performed when a user completes a task.

  • Actions in an automated task run when the guard evaluates to true.

  • Actions in a timer handler are run if the associated timer expires.

Actions should run for shortest period that is feasible since they run inside a server transaction and block precious server resources. To avoid problems, stick to the following rules:

  • Don't write client actions that require user interaction.

  • If you interact with another system and need to wait for a result, for example sending a mail and waiting for a notice of its reception, always use a second task with a guard (see Section 4.1.7.3, “Guards”) following the initial task with your action. The example in Section 5.4.4, “Example Expression” describes an expression which checks whether a mail has been received or not.

Note the following features which are helpful when you program your own actions:

Search Results

Table Of Contents