- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 02:59 AM
Hi,
I have an email notification on the incident table with a button when clicked it should send to the portal.
current link (without dynamic instance and dynamic sys_id):
href="http://68.513.116.115:22222/esc?id=ticket&table=incident&sys_id=2097213cc8fc211020d26a4e3d8eeb6f"
required link (need to adjust syntax):
current logged in user instance + /esc?id=ticket&table=incident&sys_id= + dynamic field sys_id ${sys_id}
how can i achieve that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 07:08 AM
you can only put this "/esc?id=ticket&table=incident&sys_id= + dynamic field sys_id ${sys_id}" in your source code and check whether that is working fine or not?
If not then recommending you to use the email script, that the place where you can play with this links building activity.
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 06:43 AM
hi it's not working.
source code:
this is what I'm getting:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 08:33 AM
Hello @Alon Grod ,
the same thing was mentioned by me yesterday itself no need of using gs property ,OOTB it redirects you to the logged in instance .
Great you got the output as expected.
Mark Helpful if you find my post relevant.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 03:52 AM
Hi Alon,
I hope you're doing well,
Have a look at your system properties, you should have one called "instance_name" so you can add:
gs.getProperty('Instance name'); as part of the url i.e.
Kind Regards
Ashley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 06:32 AM
hi it's not working.
source code:
this is what I'm getting:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 03:54 AM
Hi @Alon Grod ,
You can use below mentioned function to get instance name dynamically.
gs.getProperty('instance_name')
Please mark helpful if it helped you.
Regards,