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

Is there a way in Groovy to throw an error based on certain validations and close the prompt screen?

Summary:

Hi Experts,
Is there a way in Groovy to throw an error based on certain validations and close the prompt screen?
In my current application, I am using throwVetoException to trigger the error, but the prompt screen remains open. Is there a method to both throw the error and close the prompt screen?
In Calc Manager, the return function serves this purpose by displaying the error and closing the rule prompt screen. However, in Form 2.0, return behaves similarly to throwVetoException, displaying the error without closing the prompt screen.

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!