while testing the flow we got Root cause of JavaScriptException: org.mozilla.javascript.NativeError
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 06:01 AM
Hi,
I have integrated a ServiceNow with Microsoft Azure, and I have created flow, and I used 2 spokes i.e, Is user in Group and Add user to Group, everytime while testing the flow Is user in group stage is completed and Add user to Group state is skipped error
Below is the flow I have build:
The error that I got was:
Could anyone help me to resolve this?
- Labels:
-
Architect

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 07:02 AM
One of the screenshots says, oAuth token and scope permission issue. Did you check that at azure end?
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 07:04 AM
Yes Sumanth, API permissions we set are as below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 11:11 PM
Hi Everyone,
Anyone help me out to resolve this issue?