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.

Routing is happening on Submitting record and not Saving

Community Alums
Not applicable

Hi Team,

 

I have written an After Insert BR and trying to route the user to the New record creation page

Below is the script:

var url = 'sn_customerservice_bulkupdatecontactrelationship.do?sys_id=-1&sys_is_list=true&sys_target=sn_customerservice_bulkupdatecontactrelationship&sysparm_referring_url=sn_customerservice_bulkupdatecontactrelationship_list.do';
    gs.setRedirectURL(url);
 
The issue is above is working when the user clicks on Submit button but if he clicks on Save button, its not routing the new page.
Kindly let me know?
0 REPLIES 0