VaranAwesomenow
Mega Sage

When running a flow if you receive following error Invalid return type encountered, check the following

1. Check if the action has any script step, if yes check if the script step has correct syntax as below

(function execute(inputs, outputs) {
//your script here
  })(inputs, outputs);

 

If it misses (function execute(inputs, outputs) { then below error can occur.

 

Comments
BogomilB
Tera Explorer

It helped in a very 'hot' moment! Thank you, sir!

HudyssonPOntes
Tera Expert

I Love You man!

Version history
Last update:
‎06-24-2022 06:43 AM
Updated by: