SfSkills Domains Docs GitHub

Home / omnistudio / omnistudio-asynchronous-data-operations

omnistudio-asynchronous-data-operations

Use Integration Procedures queues, DataRaptor Chain, and Remote Actions with async patterns for long-running OmniStudio flows. NOT for simple DataRaptor reads — use omnistudio/dataraptor-patterns.

Open the skill folder on GitHub


OmniStudio Asynchronous Data Operations

OmniStudio Integration Procedures (IPs) can chain DataRaptors, HTTP calls, Apex, and Business Rules into a single orchestration. For operations that exceed the 5-second browser wait or need parallel calls, queue the IP (invoke from Platform Event or Queueable) instead of running synchronously.

Adoption Signals

Multi-system orchestrations >5s or bulk data transformations driven from an OmniScript.

  1. Model the orchestration as an IP; label each step by purpose.
  2. For long steps, split: a synchronous IP kicks off a Queueable or publishes a Platform Event; the worker IP runs async.
  3. Consumer polls status via a DataRaptor read; show progress screen in the OmniScript.
  4. Error path: each IP step has Abort On Error; always catch at top with a retry/fail branch.
  5. Observability: log IP execution via custom logger or Salesforce Log Entry framework.

Key Considerations

Worked Examples (see references/examples.md)

Common Gotchas (see references/gotchas.md)

Top LLM Anti-Patterns (full list in references/llm-anti-patterns.md)

Official Sources Used

Package files