Business - When: Async

  • Execute after records are insterted/modified/queried
  • Run asynchronously as Scheduled Jobs
  • Examples: Notify subscriber when CIs are affected by an Incident; SLA calculations

Async Business Rules are queued by the scheduler to run as soon as they can be fit in, this allows the current transaction to finish without waiting for the rule. They do not have access to the previous version of a record.

The Priority field is visible on the Business Rule form when Async is selected in the When field. The value in this field is used when createing the associated scheduled job. By convention, the Priority numbers in an Async Business Rules contain three digits. For example: 100, 300 or 675.

To see Async Business Rules, queued up for execution, open System Scheduler > Scheduled Jobs > Scheduled Jobs. Async Business Rules appear with their names prepended with ASYNC. They go in and out very quickly so they can be hard to catch.

TIP FROM FIELD

Use Async in place of After when immediate response is not required. The user will not have to wait on the Business Rule to finish before they can continue work.

results matching ""

    No results matching ""