We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Routing is happening on Submitting record and not Saving

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