Hi everyone,
apparently easy task but I'm not able to get it.
I have a sharepoint list and in the connected personalized powerapp form I want to save the author of the change of a specific check/uncheck (Sistemato): if the status changes to "checked" I want to put in the field "Autore" the User().Fullname while if it is changes to "unchecked" I want to set in the field "Autore" a blank. On the same time, obvisiously, if I retrieve the data for modification and the status was already "checked" I want the author to be the same as before.
What I get instead is that each time the author changes and is the new user.
I tried several combination, that sounds sensible (but evidently are not), such putting in the OnCheck/OnChange/OnUncheck of the check/uncheck control the set of a variable and in the field "Autore" an if command that says that if that very variable is null to take the Parent.Default.
Whatever I do it always takes the new User().Fullname, like if the OnCheck/OnChange/OnUncheck is triggered even if it was already on that status before of the modification.
Can someone help me resolving this tricky but apparently silly problem?
Thanks in advance
