Return values from Microflow to pluggable widget.

0
My apologies if this question has been answered before but when searching I appear to find some conflicting information. I am building a custom widget with React that needs to access data returned by a microflow. On a post from a couple of years ago I saw that this feature was not (yet) available. Is this still the case, and if not, how can I configure my widget to access the data returned by the microflow?
asked
1 answers
1

Hi Milan!

 

You can retrieve your data while using a microflow in the same way that a database retrieve works. 

In the XML you set the following: 

 

property key="resources" type="datasource" isList="true" required="true">

                <caption>Resource source</caption>

                <description/>

 

In the widget settings in Studio Pro, you can choose multiple options for data retrieval. Be aware that it has to return a list, even if it is just one object.

This will be the pop-up to select the microflow:

 

Screenshot 2024-07-01 104457.png

 

 

 

 

 

 

Hope this helps!

 

Best regards, Stefan.

answered