We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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