- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 01:43 AM - edited ‎10-16-2023 02:53 AM
Hello everyone,
I've developed a scoped application that handles inbound actions based on configuration records. Here's an overview of the processes it performs:
It checks the configuration records to determine if it meets the conditions for ignoring incoming emails.
It checks the configuration records to identify conditions for checking duplicates. If a match is found, it updates the target record.
It also reviews the configuration records to identify conditions for creating or updating target record.
My goal is to effectively manage the execution of other inbound actions based on the criteria above. I've added the event.state = "stop_processing" to stop further processing, but I'm encountering a challenge where other inbound actions continue to run despite having the event.state = "stop_processing" in place.
Sample code that creates/update target record:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 09:24 AM
Setting the below system property to true seems to have fixed the issue:
glide.record.legacy_cross_scope_access_policy_in_script
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0779287

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 01:58 AM
Hello,
Is this script been processed from scoped application? Can you check the logs what errors are you seeing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 02:39 AM - edited ‎10-16-2023 02:43 AM
Hi Omkar, yep it is a scoped app and I don't see any errors in the log...
Thanks,
Regina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 09:24 AM
Setting the below system property to true seems to have fixed the issue:
glide.record.legacy_cross_scope_access_policy_in_script
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0779287