Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

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.