9.3:documentation:scheduled_task

Scheduled Tasks

Scheduled task is a task the start of which is planned in advance and when started it runs at the background of the application. Examples of scheduled tasks are identity lifecycle processes. The run of a scheduled task can be planned as a one time action or run periodically.

We usually use scheduled tasks for tasks that:

  • last long time - we donť want the user to wait for the reaction
  • must be started in predefined time - synchronizations, or identity lifecycle processes
  • its runs depends on each other - dtto
  • runs periodically - notification, reports

 Scheduled task with dependencies

In CzechIdM tasks can depend on the execution of other tasks. That means a specific scheduled task is started every time a dependent scheduled task has ended. Thus one can plan running identities synchronization before every contracts synchronization run.

Read more