How does MQTT automatically connect to the server when the program starts?

0
Hello, my friends. I now use buttons to connect to the MQTT server, but this is so unfriendly that I want to connect to the server automatically when my project starts.  What should I do? Thanks.
asked
1 answers
1

You need to look at using an After Startup microflow. This is executed once when you start your application. 

https://docs.mendix.com/refguide/project-settings#after-startup

Hope this helps.

answered