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

How to add warning messages in Application composer, Change order server scripts - Validation Rules.

I have written a Field validation rule under Change order - Server scripts on status change.

The script contains an exception which throws error message when a condition is satisfied, but since the exception restricts status change, I also wanted to add warning message for another condition in the same code so that it doesn't restrict the status change.

if (urlAttachmentCount >= 0) {
adf.error.warn("The Change Order contains Export compliant Items.");
warningRaised = true;

This is the logic written, but it is not returning the warning.

Could you please help on how to achieve this.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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