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

Groovy Script to Return an Error Message if User Leaves Page Before Finishing Run

Summary:

I am currently working with a Groovy script in Oracle Sales/CRM Cloud. The requirement is to either warn or return an error message if a user navigates away from the page before the script finishes execution.

Could you please confirm:

Is it possible for a Groovy script to detect when a user leaves the page before completion?

If not, what is the recommended approach to handle long-running scripts and ensure users are informed not to leave the page?

Any guidance or best practices would be greatly appreciated.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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