Evaluator: com.glide.script.RhinoEcmaError: Cannot read property "FlowAPI" from undefined

PANKAJ KATARIA
Tera Contributor

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);

1 ACCEPTED SOLUTION

DrewW
Mega Sage
Mega Sage

You have a type'o, its sn_fd, not sn.fd.

var outputs = sn_fd.FlowAPI.executeAction('test', inputs);

View solution in original post

1 REPLY 1

DrewW
Mega Sage
Mega Sage

You have a type'o, its sn_fd, not sn.fd.

var outputs = sn_fd.FlowAPI.executeAction('test', inputs);