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.

Redirect Submitter to created record

Wyatt Fudal1
Tera Guru

Hello, 

I running into an issue with a record producer. Would I be able to add a redirect once the record producer form is submitted? Have the submitter redirected to the record that was created. I did not create this record producer. I have it selected and scripted but it does not work.

WyattFudal1_0-1711740044698.pngWyattFudal1_1-1711740075307.png

WyattFudal1_2-1711740089976.png

 

 

1 ACCEPTED SOLUTION

Hello try this one:

 

var instance = gs.getProperty('instance_name');
producer.redirect = "https://" + instance + ".servicenow.com/nav_to.do?uri=u_contract_master.do?sys_id=" + current.sys_id;

 

 Please Mark my Answer Helpful & Accept as Solution, If this solves your issue. 

View solution in original post

6 REPLIES 6

Hello try this one:

 

var instance = gs.getProperty('instance_name');
producer.redirect = "https://" + instance + ".servicenow.com/nav_to.do?uri=u_contract_master.do?sys_id=" + current.sys_id;

 

 Please Mark my Answer Helpful & Accept as Solution, If this solves your issue. 

I Page not found

WyattFudal1_0-1712159168530.png