How to send multiple objects as parameters to a microflow from an Action button

Hi I am new to mendix. I have successfully created the mail template and stuff. I am trying to trigger the Sub_CreateAndSendEmail microflow (EmailTemplate module) from the UI as an action button but it is throwing an error saying parameters are not matching. I have included the button in the employee_master_detailView (MyFirstModule) and the parameters of the microflow are Employee object (Which has the mail id), Department object and the EmailTemplate. Both the Employee and Department objects are in the same module (MyFirstModule). How do I solve this issue.
1 answers

You are only able to send up to 2 different (entity type) objects via an action button. If you need to send in more specific parameters then you need a microflow that calls the SubCreateAndSendEmail as a submicroflow.