Async

Jace Benson

Table of content
  1. When to Use Async
  2. How Async Works
  3. Async Types
  4. Additional Resources

Docs

Async processing is work that runs outside the current database transaction. The record saves, the response goes back to the user, and the async work runs when the system gets to it. It's the "do this later" mechanism of ServiceNow.

When to Use Async

Don't use async when you need the result immediately — use in-memory for that. Don't use async for simple operations that run in a few milliseconds — you're just adding queue overhead for no benefit.

How Async Works

Async work is queued on the sys_trigger table (scheduled jobs, events) or the sys_execution_queue table (flows, script actions). The system processes these queues based on:

Async Types

Additional Resources