You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Do server scripts' triggers run before the update of the REST API?

We currently have two triggers configured: a trigger for status update on a Service Request and a trigger for Service Request messages. Both triggers are of type AfterTransactionPosted and AfterFieldChanged.

These triggers are integrated with Oracle Integration Cloud (OIC), and each one calls a corresponding integration.

  1. Status Update Trigger: When this trigger fires, it sends the SrNumber to the OIC endpoint. The integration then performs a GET request to the following resource to retrieve the updated status:/crmRestApi/resources/11.13.18.05/serviceRequests/{SrNumber}. The issue we are observing is that the response does not contain the new status. Instead, it still shows the previous status, which suggests that the updated value has not yet been committed at the time the trigger executes.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!