Declarative Action "current" in Server Scripts Returns Null
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2025 09:57 PM
Hi Community.
I created a new list action using Declarative Action with the implementation set to "Server Script."
Normally, in server scripts, the current object should represent the record from the triggered context. However, in my case, it is returning null.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2025 10:54 PM
Please compare it against any of the OOTB buttons and see if you configured everything correctly
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader