Is there similar to listen to widget for microflows

Hi all, just wondering, if there is a way to implement a "listen to widget" within a microflow. Example: A microflow is triggered from widget A and needs to know the selected record in widget B. Any ideas?
1 answers

Hi Tim,

Listening to a widget directly from a microflow (unless the microflow is triggered by the widget) is not possible. However your widget is able to listen to changes in objects. Via the function in the mxui api. Which means that everytime you change and refresh an object the subscribed widgets will be notified and the function that was set as the handler will be triggered.

When using this make sure you also unsubscribe when destroying the widget.