Hello, I am a newbie in this field. I wonder if there are any use cases for microflows and nanoflows. I want to know specific examples. For instance, microflows are used for interacting with databases. I also read some documentation and found that nanoflows are executed when a user clicks a button. However, I couldn't imagine the specific context. In summary, I want to know when to use microflows and when to use nanoflows, along with use cases. It would be appreciated if you could provide some answers. Best regards,
asked
Gain Lee
2 answers
1
HI Gain Lee,
This could help you understand the difference.
Microflows:
Server-side execution: Microflows run on the server.
Java compilation: They compile down to Java, allowing integration with third-party Java libraries and Java actions.
Background tasks: Microflows are suitable for carrying out background tasks.
Complex logic: Use microflows for more complicated tasks, such as retrieving and manipulating data.
Microflow: Suppose you need to perform a complex data transformation or integrate with an external system using Java actions. In this case, a microflow would be appropriate.
Nanoflow: If you want to execute a quick validation or manipulate data directly in the client (e.g., updating UI elements), nanoflows are a better fit.
answered
Sagi V K A V D Prasad Varma
2
Hi Gain Lee,
We should use microflows only if we have to apply some logic, that requires a huge DB connection or some server-side implementation.
If the process can be handled on the client side, we should use nanoflow only.