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

Runtime Message for API Rest

in Sales 1 comment

Summary: How to measure the execution time of custom validations when creating an SR via REST API?

Content:

Hello experts,

We are reviewing the API Rest performance in our SFA production pod, we have a functionality that allows us to create a Service Request via API Rest, but we need to understand how to improve the response time: There are several custom validations in the trigger when we create the SR, so we are looking for a method to measure the time taken by the custom scripts executed during the SR creation.

We are considering adding "println" statements in the executed functions to capture the timestamp via Runtime Message during a Sandbox session, I ran some tests using Postman to update an existing SR with the same user who created the sandbox, activated the runtime message, and with the sandbox active. However, the runtime message only seem to work when changes are made using the UI.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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