Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

gs.addErrormessage is popping on form

sowmyaj
Giga Expert

Hi All,

        In the advance script of BR I have added

                  gs.addErrorMessage('xyz.');

                  current.setAbortAction(true);

                  current.state = previous.state;

The above message is just flashing on the form and disappears. I want to make the message to be visible to the user. how can I do?

Thanks,

Sowmya.

15 REPLIES 15

Actually... I have seen this happen in Scoped Apps. I never did work out what was clearing it and gave up. Might be worth logging a support case with ServiceNow.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022