E-mail notification script Button not redirecting me to the respective record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 10:20 AM - edited 01-24-2025 11:26 AM
Hello
I have created e-mail notification script, to create a button and using in inbound actions. On click of button it is not redirecting me to the concern page
It is populating the URL twice as mentioned in screenshot.
Ex: dev111.service-nos.com/dev111.service-now.com/api/now...........
Could someone help me where I'm doing mistake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 11:06 AM
Hi @anvitha ash - You need to set your protocol (e.g. 'https://' + instanceName + '...). Also, you forgot to redact the instance name at the bottom of your second screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 11:33 AM
@Sheldon Swift Thanks
Now the redirect is working but, it is asking for credentials. But this should not be the case. It should redirect to the URL without credentials
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 11:44 AM
This is the default behavior when accessing the Table API through a browser. What's the use case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 11:51 AM
1. Create notification, calling email script there
2. In email script added button called "successful " as mentioned in the screenshot above
3. Create inbound action, when user clicks on the button "successful" it should close the RITM record
Usecase:
When notification triggered to the user, under the notification user would be having button called "successful" and once user click on the button it should close complete the RITM
Notification create on : Ritm table
Inbound created on : RITM table