The better way is

  1. Button click > Run Javascript (your script must pass your result to a JavaToBubble Element bubble_fn_J2BnameHere(value))
  2. Use the “JavaToBubble Event” trigger to pass it’s value to your backend WF.

Make sure to check the appropriate boxes in the JToB element.

1 Like