Integrate barcode search (microflow) into a native app with Nanoflow

0
Hello everyone, I'm developing a native mobile app in Mendix 10.18.3 that needs to consume a web service with pharmaceutical product information. I've already implemented the product search by name feature on a web page. As you can see, it works correctly. It searches for all the amoxicillin products in the This is the microflow for it. Now I need to implement a search for a specific product in the native mobile app by scanning its barcode or manually entering it. I have a microflow that calls the web service and performs this search by barcode, returning the corresponding product. This also works correctly when manually entering the barcode on the web page. The microflow is almost the same, but instead of searching by name, it searches by barcode.    My problem is that I need to display the result of this microflow in a tab of the native mobile app. I understand that the native user interface is built with nanoflows, but I haven't found a way to integrate or directly call my barcode search microflow from a nanoflow to display the found product. What would be the best way to integrate the logic of my barcode search microflow with my native mobile app's user interface to display the found product? Any guidance or examples would be greatly appreciated. Thanks in advance!  
asked
1 answers
0

Is Items a persistent object or associated to a persistent object, if yes, you need to change that to non persistent. In this case you should be able to pass the list as return to your nanoflow. In you nanoflow you can then show the page.

answered