Hello Archana,
hen a nanoflow calls a microflow, there’s always some extra time involved. The nanoflow runs on the client, but the microflow runs on the server.
So what happens is:
Client sends a request → server runs the microflow (4s in your case).
Then the result needs to come back to the client → this adds 1s (network + data handover).
That extra second isn’t the server being slow, it’s just the roundtrip.
To improve performance:
Keep logic on either client or server instead of bouncing between them.
Only return the data you really need (avoid sending big objects back).
Optimize retrieves in your microflow.
In short → the 4s is your microflow execution, the extra 1s is just the client-server roundtrip, which is expected.
Regards
Reemali