- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2019 05:06 AM
Dear all,
I am running a Business Rule on notify_call table which have the below part of the script which use Dot walking to reach reference fields.
if(session.notify_participant.notify_conference_call.getValue(u_iscascadevalide)=="true")
The problem I am facing is that I get an MethodNotAllowedException methode saying that getValue is not allowed in scoped application.
How to change my script to make it work and avoid using getValue method ?
Thanks for help
regards
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2019 08:39 AM
Hi,
I believe you want to check whether the value is true or not; also I believe session is glide record object of the current record
if(session.notify_participant.notify_conference_call.u_iscascadevalide)
just check field name is correct.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2019 08:39 AM
Hi,
I believe you want to check whether the value is true or not; also I believe session is glide record object of the current record
if(session.notify_participant.notify_conference_call.u_iscascadevalide)
just check field name is correct.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader