Value from a query in server actions

Hello! So… I need to get the UserID (autonumber) after registration. For this, I’ve created a query to get that ID but the problem is that when I need to select the value that should be returned by the query (UserID), wappler won’t show me the UserID variable.

If you check on the screenshot, the expression I could create is the query itself, but there is not any variable selected, only {{LoggedUserID}} not {{LoggedUserID.UserID}}. I don’t know why the server won’t retrieve the variables from the query

This is the query that gets the UserID variable

Maybe this tutorial will help:

1 Like

I solved it by creating a new server connection, thank you anyway!