Toolbox Plugin Help Free or Paid

Could really use some help here after struggling for quite a bit. I’m willing to pay for help.

My use case is for a sports league management application. I am attempting to pass in a schedule type of round robin where each team plays each-other one or multiple times, and I want to return a list of game matchups. I then want to create a game for each item in the list of game matchups that are returned.

I can successfully generate the matchups in javascript but I am having trouble passing data back to bubble to take action on (the “javascript to bubble” element keeps coming up empty for me).

Here is the javascript:

Example of the logs from the javascript:

Can someone help me understand how to return the list of game matchups and effectively reference the outputs for each item in the list? I imagine it might look something like this but am unsure:

Happy to pay someone for their time to help get this set up

Also asked the question here: Toolbox plugin - collection of utility elements - #604 by gpdmop

How is your J2B element setup? Screenshot of its properties will help.

I haven’t used the multiple outputs feature before but it looks like you should instead run a loop (in your script) that calls your bubble_fn for each game object. Enable ‘queue’ in the element.

Your WF should then be processing a single returned game object. Don’t forget the ‘Dequeue’ action at the end.

@ihsanzainal84 Thank you for calling out the ‘queue’ functionality - that’s the bit I was missing earlier before I attempted to switch to this list approach. Was able to get it up and running with the following setup:



1 Like