- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 10:37 AM
I'm creating an Inbound Mail Action in the global scope in Utah, and I want to stop further processing. The code editor is telling me event is deprecated:
event.state = "stop_processing";
I was doing this inbound action in a scoped application and it's working fine, but I came across a need to do it in the global scope instead, and this warning comes up. Is the syntax different in global?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 11:19 AM
Hi,
Does that have any functional impact? If not, then yuo can ignore as it is more of warning. Also, check for article link from ServiceNow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 11:19 AM
Hi,
Does that have any functional impact? If not, then yuo can ignore as it is more of warning. Also, check for article link from ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 01:17 AM
If you have the SN Utils browser extension you can fix this issue. Just update the Monaco editor settings with the following {"showDeprecated": false}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2024 11:53 PM
There is nothing wrong with the code when it is in a Script Action or Email Notification scripts that are triggered by events, or other scripts that should have access to the event and therefor, there is no functional impact on script execution.
Regards,
CB