- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 09:52 AM
I created new action called "test" and trying to execute it via below background script. But getting errror as "Evaluator: com.glide.script.RhinoEcmaError: Cannot read property "FlowAPI" from undefined"
var inputs = {
customerid: '123',
serviceid: '56'
};
var outputs = sn.fd.FlowAPI.executeAction('test', inputs);
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 10:02 AM
You have a type'o, its sn_fd, not sn.fd.
var outputs = sn_fd.FlowAPI.executeAction('test', inputs);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 10:02 AM
You have a type'o, its sn_fd, not sn.fd.
var outputs = sn_fd.FlowAPI.executeAction('test', inputs);