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.
- 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.
Tagged:
0