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.

How to change the link of the virtual agent's card to a different portal page

NITHESHWARK
Tera Contributor

Hi All, 
Thanks in advance.


I am currently work on the Virtual Agent flows. In my flows I am using Bot Response Cards in order to show the tickets[incident, Case or HR Case] information. If the number on the card is clicked then its Currently getting navigated to the default OOTB page. This is the following link of that OOTB page.

 

"<Instance URL><Portal>?sys_id=4f79199647ce6a10d964sd0706dsshdhd325&id=ticket&table=incident "


I want to change the above page and the link should be redirected to an different page and different portal I want to know where to do these customization or configurations. my expectation is it should be redirected to the following link.


"<Instance URL><Portal>?id=standard_ticket&table=incident&sys_id=4f79199647cadcnd96491dhds70dshbd4325 "

Thank You

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@NITHESHWARK 

you cannot do anything in Card response.

you will have to use Script Output

check this

How to redirect the Virtual Agent Bot Response Card record URL to a portal other than /sp

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@NITHESHWARK 

you cannot do anything in Card response.

you will have to use Script Output

check this

How to redirect the Virtual Agent Bot Response Card record URL to a portal other than /sp

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar , Thanks for sharing the insight and the article. I have checked that article. This works but I am facing some other issues, I have intergration of virtual agent in MS Teams . While intergration with MS Teams its throws me error and the card is not been generated or showing in the teams environment screen.

@NITHESHWARK 

I believe I answered your original question.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader