As a flow Flow Studio designer, you would want to execute your business logic the user to fill an HTML form, or ask for the user to log-in, or send a carousel while executing the Flow studio. In such cases, you can use the Custom Control in the Flow Studio to literally come out of the Flow Studio flow and execute your business logic defined in the using a function node in the Experience Designer.
...
The value of the control ID and Name are available in the msg object atmsg.payload.session.attributes.orbitaSession.flowInfo.controlId
and msg.payload.session.attributes.orbitaSession.flowInfo.controlName
respectively.
Using Custom Control ID for hook data
Below is a sample script evaluating the Custom control ID and dispatching accordingly.
...
Widget Connector | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Using a Custom Control Name for hook data
You can also configure your logic for a Custom Control based on its Name.
...