Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

PowerApps sending Email to last form recipient

I've very recently started using PowerApps and my first test was taking the Support Request Template and altering it to better fit my organisation. 


One of the changes i've made is to allow admin users to submit forms on behalf of other users. When admins do this, they have the option to update the task status of the call to "COMPLETED". This essentially just removes some of the faff that we would have to do (create the ticket, go back to the menu screen, find the ticket, edit the ticket), and also means users will recieve less emails. 


The problem i've encountered is that when we mark the form as "COMPLETED", the call is added to our SharePoint list and it appears as completed, however the flow that sends the email resends the previous ticket created to the previous user instead of sending the new ticket.  


(E.g. John Smith is an admin and created a ticket at 12:00 on behalf of "User A". "User A" is sent a confirmation ticket upon creation of the ticket with some of the ticket details. 
John Smith then creates another ticket at 12:30 on behalf of "User B" and this time marks it as complete. Flow then resends the first ticket to "User A", then sends the new ticket to "User B".)


All I have done is set the default "Task Status" card (from the "Help Desk" template) to visible for admin users. 


The flow is also the same as the one created in the "Help Desk"  template.


To make it even more frustrating, when I preview the app in the editing page, it works perfectly. When I publish the app, the above issue occurs. 


Any insight as to why this may be happening would be much appreciated.

Helper V
Helper V

Not applicable

hi @iamandyf please review the above response and reply back if you need further assistance. 


Thank you. 





Thank you for your response. 


I have reviewed the guidance you sent but unfortuantely it hasnt helped with the issue i am encountering. 


The powerapp is 99% working. The only fault is when I unhid the "Task Status" field on the ticket creation page. If the value if changed from "Not Started", the flow does not function properly.  


For example, I have just created a new ticket which was given the auto ID value of "252". I marked this ticket as "Completed" from the ticket creation page as I had unhid the "TASK STATUS" selector (which is hidden by default). however instead of the flow running with the value of the ticket that was just created (252), the flow ran using the ID of the last ticket I created, which in this case had the ID 210.  


Happy to provide any screenshots as requried if that would make this easier to understand. 


Many Thanks,


Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,516)