How get value from input field in microflow

Hello, friends. I'm beginner developer sap mendix.  I have some problem. I need check textfield after press button. For this purpose I create microflow with parameter. I add button to page and try set created microflow for this button. But I have follow error Parameters of the selected microflow do not match available arguments. No arguments are available, while the microflow has parameter of type String.Property 'On click' of action button 'Button'Page 'Page'MyFirstModule Please, i ask help me with this problem or offer other solution for check  field on press button.   Thank you    
2 answers

Hi Sergey,

Change the type of the input parameter from String to Object, and select the object that is the context object for your button (in other words, that 'surrounds' you button and is available on the page).

Using this object you can check the value of the attribute that is part of the object you pass to the microflow.

Also, you can check out the Mendix Learning modules: they contain these topics and make sure you don;t get stuck all the time while taking your first steps in Mendix :)


Good luck!


Wieke Bouten, thank you. It's help me.

I create new entity and set it as data source for data view. Now I have message

'The selected page 'Page' expects an object of type 'Entity' and cannot be used as a home page. Change the page or use a microflow to provide the page with an object.


Why I can't use created entity in home page? What ways exist for a solution ?