Hello and Happy New Year Everyone,
Am looking for some help in setting the actions for a button's OnSelect property.
I have a Power Apps form with an Approval Status field. There are 4 choices for the Approval Status (Pending Approval, Initial Approval Complete, Final Approval Complete, Rejected). Current default is Pending Approval.
Here's what I'm trying to do:
1) When a new user submits a request, I need the app to send the user and cc: (to the 1st approver) an email , that his request was submitted for approval. Also the email should have the Group Name, Project Name and Amount field values from the form.
2) When the 1st approver updates the form with his approval, he changes the Approval Status to Initial Approval Complete. Upon clicking the Submit button, I need the app to send the Requester and the next approver an email with the decision, comment from the approver, Group Name, Project Name and Amount field values from the form. BUT if the decision is Rejected, I only need the app to send an email to the Requester with the same information above.
3) When the final approver receives the email from #2, he will update the form's Approval Status to Final Approval Complete or Rejected. Upon clicking the Submit button, I need the app to send the Requester and the previous approver an email with the decision, comment from the approver, Group Name, Project Name and Amount field values from the form.
4) Is it possible to have the Cancel button direct the Requester to Screen1 while if it's any of the Approvers, they go to Screen2?
Folks are probably going to say, why not use Power Automate? Well, I've tried but it's really hard and as it is, I'm struggling with Power Apps.
Please help? Thank you in advance!