Update record with user data not displayed on screen

i created an app that allows a musician to search through a list of musician profile in the database and create a ‘jam’. the jam has the logged in user as the organizer and the selected musician is linked to the jam (jam ↔ musician is many to many). this works fine. however…

i would like to link the logged in user’s musician profile to the jam as well. that way, when i display a user’s jams i’ll see all their jams whether they are the organizer or the participant.

any ideas?

Hi @jberkley17,

From what I understood about your DB structure, most probably you will need the 2nd action:

  • 1st action creates a jam (new record)
  • 2nd action updates new jam, there you can add logged-in users musician profile

Best,
Victor.

1 Like

thank you Victor. i was thinking that too -like an ‘invisible’ automatic action that lists the jams that the user for which the user is the organizer and then link the user’s musician profile to the jam. just don’t know how to make that elegant.

1 Like