- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 01:36 PM
Hello everyone, I ran into a weird issue in regards to a argument I'm trying to pass inside a module.
I'm calling a script include, that is calling child function that returns an array of sys_ids.
I'm also working within a scoped application.
The module argument is as follows
category=other^organization.sys_idIN javascript: new utils().get_ids(gs.getUserID()).toString()
I keep getting an error stating that the function is undefined?
I ran a background script to call my functions and it returns the value needed, but when calling it in the module it does not work.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 01:37 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 01:37 PM
Is your script include client callable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2018 02:03 PM
Thanks for the reply Mark, looks like someone made a change to our script include and unchecked client callable check box.
After rechecking and making some adjustments to the script the argument is now calling the script include!
I also added the <scope application name> after the new keyword as such
new <scope name>.utils().get_ids(gs.getUserID()).toString()