I have an application that calls a number of flows, feeds them an input variable (data type number), and they each return a JSON string. I then convert those strings into collections.
The input variable can be updated on numerous pages within the app, and I don't want to replicate the extensive code to call all the flows in multiple places.
Prior to User Defined Functions I had a slider default property linked to the input variable, with the code in the onchange property. Whenever the input changed, the flows all ran and the collections were updated.
When User Defined Functions came along, I was excited until I realised that they operate from within App Formulas, and you can't call behaviours (Flows) from within App Formulas.
Then Microsoft changed something in the back end, and state changes to sliders and timers are no longer detected in published apps, despite continuing to be in the editor. The next time I published an update of my app, the timers all stopped working. I have researched widely and tried all sorts of things, but at the end of the day, no joy.
Is there some way to define a function with full functionality (i.e. run behaviours, accept all data types as inputs and outputs) without having to jump through hoops or manipulate other things?
Other languages have been doing this for decades.
Any help is appreciated.
Thanks,
Dave.