Hi Sridevi,
Technically, a microflow is "one call" from the client (browser) and its response contains the "Show message", so that explains why you get the message at the end.
I see two solutions which probably solve your challenge:
- Let the execution of the other submicroflows happen in one or more tasks in the Task Queue (if it should be one-by-one, make it one big submicroflow to execute in background). The downside could be that the execution is separate from the users session, so both failure and successmessages cannot be passed back to the user anymore
- Make use of a main nanoflow to call the submicroflows. In the Nanoflow commons module you can show and hide the progress bar (make sure you also call the hide in the error-handler). This actually breaks up the request in multiple calls. Be careful with credentials and other secrets, they should stay unknown in the nanoflow if you don't want to expose them to the user.
If the users' session is relevant, then I would go for option 2.
If security should be most strict, then I would go for option 1.
If these aren't relevant, both options should work fine.