- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 03:14 AM
I have added following code in my business rule script.
var parser = new global.JSONParser();
And getting this issue
Error MessageIllegal access to private script include JSONParser in scope rhino.global being called from scope x_184790_vrealize
I also tried
var parser = new rhino.global.JSONParser();
But it seems that there is a permission issue of cross-app access.
Anyone knows how to solve this issue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 05:43 AM
Just forgot to mention, you can try for global.JSON.parse() and global.JSON.stringify() before making any changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 05:36 AM
Two options
1) JSONParser script include you have to either make as accessible from all scopes, but it will be modification to OOB
2) You can just create a script include similar to JSONParse in your scope and try to check if it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 05:43 AM
Just forgot to mention, you can try for global.JSON.parse() and global.JSON.stringify() before making any changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 03:56 AM
JSON.parse() worked for me. Thanks deepak.ingale .