Groovy Script to Return an Error Message if User Leaves Page Before Finishing Run
in Sales
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):
Tagged:
0