Hello team,
My power app is based on an assigned form when a user clicks on the approve or reject button.
There are a few conditions that need to be applied to buttons :
1)Before the user gives the approver comments the Approve/Reject Button should be in Disabled mode, When user gives an Approver comment (multi line text)..the buttons should get enabled.
2)On click of the approve / reject button --the status should get updated automatically --
3)After approving/rejecting the approve/reject button should get disabled.
4)The date and time of the user should get captured automatically.
I tried On Approve / Reject button : for status to get changed
OnSelect property :
set(varstatus,"approved");
patch(submitlist,lookup(submitlist,ID=landingpage.Selected.ID),{Status:{Value:"Approved"}});Navigate(screen1);
where it works --the status gets changed
2)On DisplayMode property :
If(IsBlank(lblApprovercomments),Edit,Disabled);
3)Date and time update?should capture the current user's automatic.
Can anyone help me .Any help very much appreciated.Thanks in advance