Ankur Bawiskar
Tera Patron

Hi David,

In client side if you want to redirect/open then use following: give your table name highlighted in bold

var sysId = g_form.getUniqueValue();

var url = '/<tableName>.do?sys_id=' + sysId;

window.open('url');

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

View solution in original post

find_real_file.png

Hi Ankur,

I am new to ServiceNow and I want to redirect to another page using servicenow. 

I  also ried the same thing for redirecting to another page but its not working. Please help me out.

find_real_file.png

 

find_real_file.png

 

Hi,

 

the alert after window.open() won't show so remove that;

Also is the table name correct to which you are redirecting? u_incidentfieldaudit.do?

Regards
Ankur

Hi,

 Ya , table name is correct and function is get executed on click of button as alert pop is shown.

find_real_file.png