- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 03:07 AM
Hello
I've a UI action button on form having User credentials and a Token field(custom table) whenever I click the button, the user credentials validate on the client's sever and get a token in Token field on the form. This is working fine but the token expires every 60 mins so I have to manually click the UI Button to get the token.
So, is there any way to trigger or schedule the UI Action button. I've created a schedule job using script which I've used in UI action and made changes but not working. So, can anyone help me to trigger UI Action functionality for every 60 mins. I'm attaching the script the I've used in UI Action.
Highly appreciate if anyone helps me.
Thanks
Naveen Nimmala
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 03:37 AM
run the same script; ensure you query the correct record in the table and replace the current object with your GlideRecord object
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2023 12:09 AM
that you need to debug further.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
