custom widget passing argument to microflow

0
I have a custom widget that has an action am executing: <property key="OnClickAction" type="action" required="true"> <caption>On click</caption> <description>Action to be performed</description> </property> Is it possible when user selects ‘execute microflow’ in front-end, to pass two parameter e.g, a default object and extra string parameter? Thanks
asked
1 answers
4

Short answer, NO. You can only pass an object or a list of objects. A work-around for passing a string is by adding it as an attribute to the object you are passing.

answered