---
schema_version: "1"
id: 4ebd3fdc755dbbbbdfd99e99e8ad73c30aaa7fee737281327ae11830d20af284
title: "OM Standard: Considerations about PlatformEvents Mode"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_om_standardconsiderations_about_platformevents_mode_241474.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_om_standardconsiderations_about_platformevents_mode_241474.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 27f12fd1b1776288894fe89d8f77aa2ac9a4f0482aca72a24d77ee2eeb3282a0
description: PlatformEvents mode improves performance in OM orchestration. When deciding whether to run PlatformEvents mode, there are a few things to consider, such as Salesforce allowances for certain methods or events.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# OM Standard: Considerations about PlatformEvents Mode

PlatformEvents mode improves performance in OM orchestration. When deciding whether to run PlatformEvents mode, there are a few things to consider, such as Salesforce allowances for certain methods or events.

Whether you decide to switch to PlatformEvents mode or not, you can change your mind whenever you want. For instructions on doing so, see [Order Management Standard: Set Up Platform Events](https://help.salesforce.com/s/articleView?id=ind.comms_t_order_management_standardset_up_platform_events_241504.htm&release=264.0.0&type=5 "If you aren't already using Platform Events, and you want to, then you'll first configure the platform event settings, then schedule the Orchestration Recovery job. For certain versions of OM, there's one extra step, as explained in the following steps.")

## Salesforce Allowances

Salesforce allows a certain number of platform events and asynchronous Apex method executions, which are both used by Order Management. For more details about those allowances, see this Salesforce Platform Developer Guide's page: [Platform Event Allocations](https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_event_limits.htm)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-order_management-264-0-0-production-enus/c2040b01-aade-4ba7-8a7d-d7cd745d5c8c/images/icon_note.png)

Note

These allowances are shared by all the modules that are in the org, not just Order Management.

- Platform event publication: 250,000 per hour.\*
- Asynchronous Apex method executions\*\*: 250,000 per day, or 200 X the number of user licenses in your org, whichever is greater.

\* You can ignore any limits on platform event delivery.

\*\* Asynchronous Apex methods include things such as batch Apex, future methods, Queueable Apex, and scheduled Apex methods.

Going over the allowance for platform events: If your entire org (OM along with all other modules in the org), uses more platform events than allowed by Salesforce, then any new events will pause for an hour. At that time, the allowance resets, and those events are processed.

Going over the allowance for asynchronous Apex method executions: If your entire org, meaning OM along with any other module, executes more asynchronous Apex methods than allowed by Salesforce in a 24-hour period, then any new events will pause for 24 hours. At that time, the allowance resets, and those events are processed.

## Your Expectations from Order Management

Given the allowance of platform events and Asynchronous Apex executions, it's important to understand when Order Management generates them.

Order Management generates one platform event and one Asynchronous Apex method for each callout or autotask that fires in an orchestration plan.

For example, let's say that an order's orchestration plan contains 7 callouts, 5 autotasks, and a number of push events and manual tasks.

We can ignore everything except the callouts and autotasks. Add them together to get 12, so that's 12 platform events and 12 Asynchronous Apex method executions.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-order_management-264-0-0-production-enus/c2040b01-aade-4ba7-8a7d-d7cd745d5c8c/images/icon_note.png)

Note

If a callout fails and is retried, then that's TWO platform events and TWO Asynchronous Apex method executions: one for each attempt.