Help with Orchestra Plugin

Note: I’ve read all of the other Orchestra plugin topics and still can’t work it out

@ZeroqodeSupport is this something you can assist with?

I have a RG of Service Instances.

Inside each RG Service Instance Cell, I have a RG of Service Task Types (A service may have 1 or more Task Types).

Inside each RG Service Task Types Cell is a button where a user can add a new Line Item (Task). When the user selects the button, I need to know the outer Service Instance to save into the Line Item being created. Following is the UI to give you an idea (when I click the Blue Button, I need to now the RG Service Instance ‘Thing’. Clicking the button creates a Line Item, however, it is not populared with the Service Instance from the ‘Group Retrieving Service Instance (Musician)’ custom state.

I have my Maestro within the RG Service Instances, and my Musician within the RG Service Task Types. I am using empty Groups with Custom States to store the Service Instance that I need to access from within each RG Service Task Types Cell.

Following is the workflow:

When Musicians is Revealed:

Musicians runs the following in each cell:

When the user clicks the button to add a new Line Item (Task), the following workflow runs:



A thing is being created, however, Parent Service Instance & Service Instance are blank.

Basically what you need is to insert the Musician into the RG Instance (so it will perform actions for each Instance cell.

The Maestro element is indifferent, you can have it anywhere on the page. But in fact, in this use case you don’t even need it.

Then, for the Task RG (or maybe a group wrapping it) create a custom state.

Now configure a workflow for the Musician so that it sets the state as soon as it is revealed, based on the current cell .

Here I used the custom state as text just for example., but change it for your needs.

2 Likes

I actually got this to work, but it was more due to an error - a bit embarrassing :sweat_smile:

Basically, in the “run in each cell” workflow I was setting the State, but in the Create in final workflow I was trying to set based on “Group Retrieve Sending Instance (Musician)”'s Type, not the Custom State I was setting…

@Newed , for my own knowledge could you expand a bit more on this comment: “The Maestro element is indifferent, you can have it anywhere on the page. But in fact, in this use case you don’t even need it.”

If I had the Maestro outside the “RG Service Instance”, doesn’t that mean it wouldn’t be able to see each Service Instance??

1 Like

Hello @thethinklab.au ,

Thanks for reaching out with your concern.

Great to hear you’ve resolved the issue with associating the newly created Line Item to the correct Service Instance. It’s common to encounter such challenges when working with nested repeating groups in Bubble.io.

Regarding your question about the placement of the Maestro element: the Maestro serves as a controller to trigger actions within the Musician elements inside repeating groups. In your specific use case, since each Musician is already placed within the cells of your repeating group, the Maestro doesn’t need to be inside the repeating group to function correctly. It can be placed anywhere on the page, and it will still effectively communicate with the Musician elements.

Hope this proves helpful, if you will have any further questions or need additional assistance, feel free to reach out to us.

Have a great day ahead!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

1 Like