Add a $currentPage variable to nanoflows (and microflows) - Mendix Forum

Add a $currentPage variable to nanoflows (and microflows)

4

It would be useful to have Page info in Nanoflows and Microflows as a variable that you can access. Something along the lines of $currentPage (similar to $currentSession and $currentUser). This can be used for things like logging, event tracking, conditional behavior based on where the flow is triggered.

I’m assuming the data is already available, but not exposed to us as developers. Reason I think this is because in the Client API you also have the ‘origin’ where you specify the calling Form for triggering nanoflows and microflows (mx.data.action and mx.data.callNanoflow). It’s also needed for using actions in microflows like “Close Page”.

It would be very helpful to have this as a variable.

asked
0 answers