Microflowssss

0
Hello! 1) I see in some cases there is Input Parameter and in some not, what is the difference? 2) In Microflow ACO_RequestLine_CalculateTotalAmount we using another 2 submicroflow. Is the logic you need memorise and you can reuse it in different projects. Or this is suitable only in this case? Any advices for Mendix Jr developer with non technical bg... https://academy.mendix.com/link/modules/184/lectures/1451/4.6.2-Making-the-Custom-Navigation-Layout-Dynamic Thank you in advance!
asked
2 answers
1

You can view a microflow as a function that either has no input parameters or does have these.

For example a function that shows a fixed message could be a microflow without input parameters:

ShowMessage() → Calling the function would show a message defined in the microflow, maybe “Hello World”

Now if you add a parameter to a microflow, that takes a string as argument:

ShowMessage(String) → the microflow has access to this string and we could create an activity show message that uses the input parameter. Show if we call the function (microflow) with the argument “Hi Oleksandra” like

ShowMessage(“Hi Oleksandra”) → the result would be a message stating: “Hi Oleksandra”

 

THis hold true not only for simple strings, integers etc, but also for objects and even for microflows having multiple arguments. So this feature allows to create microflows with more dynamic functions and improves the reusability at the same time.

 

I hope that this helps you understanding the input parameters a bit more.

answered
0

Thank you. 

answered