How to set variable of what the current form hass?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 04:15 AM
I am trying to make this scheduled job script
based on what is entered on current unique scheduled job to be dynamically set the variable when its scheduled
each schedule job has its own descriptions
currently the way I have the code it will only enter what I type in it I want them to carry over
current script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 05:33 AM
you cannot access that unless you query scheduled job table with scheduled job record sysId and then pick the field value using GlideRecord object
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2023 05:34 AM
Can you help me write the code as I am unsure on how to do this?