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
Problem:
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)