---
schema_version: "1"
id: 74c6f339ffa244e213b48807a02a2ca8a56ef93837bbafab40654b2526eed12e
title: Event Relay Execution Statuses
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ev_relay_status.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ev_relay_status.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 57e7f6c2832d266331887d9e98ce07bd375f66ccee9ec3f41b577120f8fc1f71
description: You can run, pause, or stop the execution of an event relay. After you change the execution state, it can take several minutes for the new state to take effect. During this time, the event relay displays a transitional status in the UI. After the state change completes, the final status appears.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Event Relay Execution Statuses

You can run, pause, or stop the execution of an event relay. After you change the execution state, it can take several minutes for the new state to take effect. During this time, the event relay displays a transitional status in the UI. After the state change completes, the final status appears.

## Transitional Status and Final Status

Because a state change happens asynchronously, changing the event relay state isn’t immediate and can take a short while. When the state change is in progress, the event relays list view and the event relay detail page show a transitional status. The transitional status is a visual indication that the state change is underway. Transitional statuses are available only in the UI and not in the API.

For example, when you change the state of a stopped relay to Run, the status first changes to Starting… before it changes to Running. And when you change the state of a paused relay to Run, the status first changes to Resuming… before it changes to Running. This image shows a transitional status of Starting for one event relay and a final status of Paused, Running, and Stopped for the other event relays.

![Event relays list view shows one event relay starting](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/ev-relay-list-paused-running.png)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)

Note Changing the state from the Error state doesn’t cause a transitional status to appear.

These are the possible transitional states.

- Starting...
- Resuming...
- Pausing...
- Stopping...

The final statuses are listed in the next section.

## Running Status

To start a stopped or paused event relay, set the event relay state to Run.

## Paused Status

To pause the event relay and temporarily hold off sending events to Amazon EventBridge, set the event relay state to Pause. When you resume a paused event relay, the relay of events continues from where it left off. Stored events are relayed from the Salesforce event bus starting after the last relayed event, and new events.

When the event relay is paused, its current state information is saved in the EventRelayFeedback Salesforce object. There can be a delay between when you set the state to Pause and when the event relay is paused. In this case, the saved state information corresponds to the state when the event relay was actually paused.

## Stopped Status

To stop relaying events from Salesforce to Amazon EventBridge, change the event relay state to Stop. When you start a stopped event relay, new events published to the Salesforce event bus are delivered to Amazon EventBridge. Any events stored in the Salesforce event bus that were received after the relay was stopped and before it was started aren’t sent.

When you stop an event relay, its current state information in EventRelayFeedback is deleted.

## Error Status

The system sets the event relay status to Error if it encounters an error when attempting to run the event relay. Errors can be caused by configuration problems or connectivity issues to Amazon EventBridge. You can view the error in Setup or by querying EventRelayFeedback. For a list of error codes, see [EventRelayFeedback](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_eventrelayfeedback.htm) in the Object Reference for the Salesforce Platform.

The system attempts to recover from the error periodically. When the system recovers from the error, the event relay resumes from where it left off and the status changes to Running or a status you select. In rare occasions, if the system can’t resume from where it left off, it uses the error recovery option to determine from where to relay events. For more information, see [Error Recovery Options](https://help.salesforce.com/s/articleView?id=platform.ev_relay_error_recovery.htm&release=264.0.0&type=5 "If transient errors occur, such as connectivity issues or errors in the event relay configurations, event relay resumes automatically after the connectivity issues are resolved or the configurations are fixed. The event relay attempts to resume sending events from the event bus from where it left off. In rare occasions, if it can't resume after the last relayed event, it uses the error recovery option to determine where to resume from.").