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.

where can we configure the Error message when clicking the move attachments button

vijani
Giga Guru

where can we configure the Error message when clicking the move attachments button on agent workspace. Please assist me on this.

 

vijani_0-1724939821744.png

@Community Alums 

@Ankur Bawiskar 

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@vijani What do you mean by configuring the error message? Would you like to display an error message on click of the Move attachment button. In the server side script you can use gs.addErrorMessage or in case of client side script you can use g_form.addErrorMessage() to show the error message.

yes, correct but coming to this agent workspace 'Move attachment' button I could not find the exact place to update the code. even I tried to update on 'Move attachment' Ui action, 'Move attachment' Declarative ui action, UI page and agent workspace 'Move attachment' ui builder page also but not working.