Javascript to Bubble Workflow Event Not Firing

Hi all,

I got everything working and then it stopped for an unknown reason.

Users would input the score for the golf drill and click the button “Add Score” - this triggers “Run javascript” which produces a number “Handicap” (measurement of golfers playing ability) and produces a list of numbers “Handicap for Skills”.

These numbers are successfully displayed inside of text field using Javascript to Bubble.

Now, there are other steps, calculations, done via Javascript to Bubble event trigger. This stopped working all the sudden.

In the workflow actions, element is set to Javascript to Bubble element so I know this is correct.

In the element itself, the event checkbox is checked, so I know this is correct too.

This worked just fine, and as I was doing final tests, it stopped triggering.

Update: just made a 2 minute loom recording of the issue

for debugging to ensure your JS to Bubble event is actually getting triggered or not, add a simple alert as the first step…if you do not see the alert come up, you can isolate the issue to being the javascript to bubble event is not getting triggered.

If that event is not getting triggered, likely it is an issue with the suffix of the js to bubble element not matching the suffix used in the javascript that needs to run to trigger the event.

1 Like

Check your script, just check to make sure the bubble_fn name matches.

Also, and this happens to me frequently, make sure there’s no additional spaces in the suffix value input of the element’s property editor.