web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Help Desk Canvas App s...
Power Apps
Unanswered

Help Desk Canvas App show not completed tickets

(0) ShareShare
ReportReport
Posted on by 22

I am using the Help Desk App, currently I have the following screen

My Ticket Screen.jpg

I have the following logic that shows the tickets above under the My Ticket Screen

Refresh(HelpDesk);
ClearCollect(AllTickets,HelpDesk);
If(isAdmin ,
Set(TicketToRunFlow,First(Sort(AllTickets,Created,Descending))),
Set(TicketToRunFlow,First(Sort(Filter(AllTickets,Author.Email = MyProfile.Mail || Author.Claims = MyProfile.UserPrincipalName ),Created,Descending)))
);
If(RunFlow, HelpDeskFlow.Run("'" & TicketToRunFlow.ID & "'"));
If(RunFlow, Set(RunFlow,false))

 

I also have this logic under the My Ticket Screen Gallery Icon Screen

If(
isAdmin,
Sort(
AllTickets,
Created,
Descending
),
Sort(
Filter(
AllTickets,
Author.Email = MyProfile.Mail || Author.Claims = MyProfile.UserPrincipalName
),
Created,
Descending
)
)

 

I am looking to show only the items when my TaskStatus shows everything but the Completed Items

 

Anyone have any ideas on how to do that

 

Thanks

 

 

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    on at

    Hi @Smatera9681

     

    Do you want your TicketScreenGallery display all items except completed Items?

    You can add a filter condition to AllTickets.

    Please modify your second formula as below, and put it to Items property of gallery.

    If(isAdmin,Sort(Filter(AllTickets,TaskStatus in ["NOT STARTED","IN PROGRESS","DEFERRED","WAITING ON CSR"]), Created, Descending), Sort( Filter(AllTickets, (Author.Email = MyProfile.Mail || Author.Claims = MyProfile.UserPrincipalName) && TaskStatus in ["NOT STARTED","IN PROGRESS","DEFERRED","WAITING ON CSR"]), Created, Descending))

    Annotation 2019-10-24 181521.png

    Best Regards,

    Sik

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly.

     

  • Smatera9681 Profile Picture
    22 on at

    Unfortunately I added the information you had me add and this is what happens

     

    Untitled.jpg

     

    As you can see the syntax has some red in it, and nothing populates in my ticket like yours does in your above picture

     

    Any ideas on what i am missing?

  • Smatera9681 Profile Picture
    22 on at

    Does anybody have any insight on this? Any help would be greatly appreciated

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard