We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Flow Designer action inputs and outputs not working

Marcio9
Kilo Guru

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
Kilo Guru

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

Hi,

so what came in the input variable?

Did you add gs.info() and check?

Regards
Ankur

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

Marcio9
Kilo Guru

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