I need to redirect the users to one UI page to another UI page. Its just a simple redirect and am not touching any DB tables.In UI action it is asking the table name. Kindly someone help me here

Gokhul
Kilo Explorer

I need to redirect the users from one UI page to another UI page . Its just a simple redirect and am not touching any DB tables. In UI action it is asking the table name as mentioned above am not doing anything with tables. Kindly someone help me here

4 REPLIES 4

Chaitanya Redd5
Tera Guru

Hi Gokhul,

You can refer to the below thread where you can get idea how to redirect from one UI page to another UI Page.

https://community.servicenow.com/community?id=community_question&sys_id=38df83a5dbdcdbc01dcaf3231f96...

Also, not sure if you are trying to call a UI page from UI Action? If yes you could refer below link:

https://community.servicenow.com/community?id=community_question&sys_id=ce494725db5cdbc01dcaf3231f96...

Kindly mark my answer as Correct and Helpful based on the impact.

Regards,

Chaitanya

Gokhul
Kilo Explorer

Hi Chaitanya,

Thanks for your reply.

Here i am explaining a bit more, We have created a new UI page for taking the assessments(customized from OOB ) and configured mail notifications as well. in the mail we have a link to open the assessment and while clicking,it will take us to old assessment take page by default and we need to redirect users to new page and currently we are not in the position to change the old link to new one. 

Old page Link:

assessment_take2.do?sysparm_assessable_sysid=xyz&sysparm_assessable_type=xyz'

new page link:

assessment_take2_sm.do?sysparm_assessable_sysid=xyz&sysparm_assessable_type=xyz'

in UI action, business rule and workflow we need to mention the table name right, But this is straight forward one without any table intervention. Kindly assist.

Thanks,

Gokhul

 

narasinga_perum
ServiceNow Employee
ServiceNow Employee

Just try this,

 

action.setRedirectURL('your url')

SHIVAM JAISWAL
Tera Contributor

Hi,

Try gs.setRedirect('url');  in UI action.

give url of the page you want to be redirected.

"no need to check the client checkbox"

Please mark correct/helpful if it works.

 

Regards,

Shivam