Scan data to trigger tasks
In addition to the fine-grained scheduling facility, Identity Cloud provides a task scanning mechanism. The task scanner lets you scan a set of properties with a complex query filter, at a scheduled interval, and then launches a script on the objects returned by the query.
For example, the task scanner can scan all
managed/realm-name_user objects for a specific date, and invoke a script that launches a task on the user object when that date is reached.
The task scanner essentially runs a scheduled task that queries a set of managed users, then launches a script based on the query results. Scanning tasks are configured in the same way as regular scheduled tasks, as part of the schedule configuration, with the
invokeService parameter set to
invokeContext parameter defines the details of the scan, and the task that should be launched when the specified condition is triggered.