Call microflow in nanoflow operation?

How to call a microflow from nanoflow in mendix modeler version 8.4.0 in native mobile app development. I get an error ‘Calling a microflow from a nanoflow is not allowed on pages that are accessible through a native profile’.  Thanks in Advance!
1 answers

By default this is not possible as this does not comply with an offline-first-approach. A microflow will run on the server and not in the client.

A work around might be to create a javascript action that calls the microflow and add this in your nanoflow.

See this post on the forum for the code:

Be aware that this will not work in an offline mode and will result in errors when executing without a connection to the server and I’m not completely sure on how the native builder will handle this, but you could give it a try if offline isn’t a consideration.