Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttps://www.youtube.com/watch?v=qnMMF3-GdaU&feature=youtu.be
height300px

Using a Custom Control Name for hook data

You can also configure your logic for a Custom Control based on its Name.

...