perosterber
Tera Contributor

I ended up re-building it into a script include instead, seems are there is some kind of issue with passing objects to sub-flows. Also rebuilt my flow action to call my script include instead, so it can still be used the same way in flows, but it is now also possible to call the functionality from scripts which was my goal. Thank you for your replies