Flow Designer action inputs and outputs not working

Marcio9
Tera Expert

I keep getting the same error; "Error: missing name after . operator" when im trying to run this script action in Flow Designer. I was just trying to enter a string then append some text to it.

 

(function execute(inputs, outputs) {
// ... code ...
  var input = inputs.in;
  input += " i am adding extra text to this string...";
  outputs.out = input;
  
})(inputs, outputs);
1 ACCEPTED SOLUTION

Marcio9
Tera Expert

I figured it out myself, for some reason you can't use "in" or "out" as the name for inputs/outputs. Very odd...

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

so what came in the input variable?

Did you add gs.info() and check?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Marcio9
Tera Expert

I figured it out myself, for some reason you can't use "in" or "out" as the name for inputs/outputs. Very odd...