Button not updating database records

I’m using a button to update my database record but it is not working.
This is how my screen workflow looks like.

How i want it to work.
User logs in> select church>the button updates the church field in the user’s records and redirects to home page. So that the user don’t have to select church when logging in again
The button is not writing data/updating to the record under the user>church field.

My current logic

When user clicks on the button, I have set the click action to Update the church record of the logged in user with the current church record(Current church was chosen in the previous list screen)

It looks like your click action is updating the record in the “Church” collection. Try updating the Logged in User in the User collection instead and let us know if that works.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.