10.4: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 the scheduled task can be planned as one time action or run periodically.

We usually use scheduled task for task 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 task can have dependencies on each other. It means that specific scheduled task is started every time dependent scheduled task end. Thus one can plan running identities synchronization before every contracts synchronization run.

Read more