How to open current record on virtual agent servicenow?

Balaram7
Kilo Sage

Hi all,

 

can anyone please help me, on how to open current looked up record in ServiceNow.

We have created a new topic and able to lookup records. 

Able to fetch data from the looked-up record.

Please help me with the approach when we click on button to show record, it should open in new window in a pdf format.

 

Thank you,

Balaram.

1 REPLY 1

umaaggarwal
Giga Guru
Giga Guru

Use response link and provide link in script like below :

 

'https://'+gs.getProperty('instance_name')+'.service-now.com/' + PDFTable + '.do?PDF&sys_id=' + PDFSys_id

 

PDFTable - this is your record table like incident

PDFSys_id = record sys id

 

Hope this helps.