I have Autonumber column in Dataverse and I use that column as a base for an Rownumber field. For testing I have done a button, where I set a new variable for Max(Rownumber) in Dataverse table. The variable works fine when I open the app and press the button, but when I submit new records to the Dataverse table, and press the button after that, the variable value doesn't update.
I wonder why?
I have also tried Last() function, but the result is the same.