The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Sub-Flow Output Error in Flow?

Matthew Gill
Tera Expert

I am calling Sub-Flows within a Flow. The Sub-Flows return [status] which is a True/False variable. The Sub-Flow tests correctly, but when it is called from the Flow the Sub-Flow completes, returns the appropriate output when looking at the subflow execution details, but the Flow execution details show an error for the Sub-Flow task. 

It is as if the Sub-Flow output variable is not being passed back to the Flow. I have ensured that the variable types are the same, and the Sub-Flow is set to 'Wait for Completion). Any advice or guidance is appreciated. Thank you!

1 ACCEPTED SOLUTION

Matthew Gill
Tera Expert

Alright... Support figured out what the issue was.

 

Even though the error was being shown on the Sub-Flow call, the issue was actually failing on the Update Record Action. Specifically, updating the 'Actual Start' field. I was updating to " return ( new Date() ); "; however, that field requires a String, for some reason, and was not giving a good Error Code. The workaround is to update to " return ( new Date().toString() ); ". Not ideal, but it works...

 

Thanks everyone for helping!

View solution in original post

20 REPLIES 20

Done. Thank you all!