In Incident Resolved notification how to set dynamic link URL from editor

Shekhar Deshin1
Mega Guru

@Ankur Bawiskar 

 

I am trying to generate dynamic hyper link for incident number with html edit link option please find the screen shot.

Once user click on number it should go to the portal view and see with incident sys id can able to see incident.

here i am trying to add dynamic but not working as such.

With normal ${uri_ref} it works fine but they need dynamic link how to generate this dynamic link see following example this is not working.

 

here is example in link - &table=incident&sys_id=$%xxsys_id%xx&view=sp

 

Please suggest.

Thanks,

 

 

 

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Shekhar Deshin1 

you can use this relative URL and point to correct portal

/sp&table=incident&sys_id=${sys_id}&view=portalViewName

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

jcmings
Mega Sage

Have you tried using ${sys_id} ? Your URL would be instance.com/sp&table=incident&sys_id=${sys_id}&view=sp

Ankur Bawiskar
Tera Patron
Tera Patron

@Shekhar Deshin1 

you can use this relative URL and point to correct portal

/sp&table=incident&sys_id=${sys_id}&view=portalViewName

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

Thanks Ankur for help and appreciate your help.

It is working now.

I have changed above line and my portal view is esc.

Thanks.