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

Add a $currentPage variable to nanoflows (and microflows)


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 ( and It’s also needed for using actions in microflows like “Close Page”.

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

0 answers