Apex RelayActionResponse
  • 13 Nov 2024
  • 1 Minute to read
  • Dark
    Light

Apex RelayActionResponse

  • Dark
    Light

Article summary

The RelayActionResponse is returned by the RelayOnboardAction and the RelayMessageAction actions. It contains the result of the executed action.

FIELD

DESCRIPTION

responseCode

A numeric code . As the Relay actions make a callout, the returned value will be the HTTP status code returned by the callout. Please refer to the specific Relay action documentation to determine possible responses.

In the event there are errors with the actual action request and the values passed in, a value of 500 will be returned and the responseMessage will contain a description of the failure.

NOTE

If the Relay action option to run in a future was set to true, then the response code will be a value of 202 and the response message will be Request Accepted. Salesforce will eventually run the action in the near future.

responseMessage

A human readable message related to the response code.


Was this article helpful?

What's Next
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence