- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2023 11:49 PM
I would like to include a link to the service portal in the body of the notification.
Is it possible to dynamically enter the URL of the service portal using a script, etc., without directly entering the URL in the text?
It's a pain to manually fix the URL every time you migrate to another instance with an update set. . .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2023 11:55 PM
Hi @bonsai
Instead of using the URL as hardcoded, you can use the parameters written after the "/"
For example:
dev11111.service-now.com/id=page_name&sys_id=1234567890123...
Use
/id=page_name&sys_id=1234567890123...
This will make your URL dynamic.
Please mark this as helpful if this resolves your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2023 11:55 PM
Hi @bonsai
Instead of using the URL as hardcoded, you can use the parameters written after the "/"
For example:
dev11111.service-now.com/id=page_name&sys_id=1234567890123...
Use
/id=page_name&sys_id=1234567890123...
This will make your URL dynamic.
Please mark this as helpful if this resolves your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2023 12:03 AM
very!
thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2023 12:02 AM
always use relative url and you need not worry about the instance name when you migrate
Example: /sp?id=sc_request&table=sc_request&sys_id=d89f1fc607c9d1102011ff208c1ed0b6
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
