'call: argument fn is undefined' subflow error

ShAn21
Tera Guru

Hi Team,

I am getting the following error 'call: argument fn is undefined' when I am trying to convert some flow actions to a subflow.

Has anyone encountered such issue before?

 

Thanks

3 REPLIES 3

GlideFather
Tera Patron

Hi @ShAn21,

 

never experienced this myself, from the error message it indicates some issue with "fn" and the more similar what I can get to is on the IF conditions (or any other condition builders), when you go to the leftmost bubble and hover over to the end of the right side, you can get there a function bubble, it is the (+fx) from my screenshot:

KamilT_0-1751870014393.png

 

Please review the actions/steps that you are converting whether they contains this, if so, the colour would be darker, as following one:

KamilT_1-1751870077917.png

 

Not sure if it helps but at least you can try..

 

 

 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Ankur Bawiskar
Tera Patron
Tera Patron

@ShAn21 

please share the complete subflow actions you added

It's definitely some step is using something which is not available or not declared.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Sannysamiran N1
Tera Contributor

Hi @ShAn21 ,

Can you please the entire subflow screenshot and the error screenshot.