cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joshieboy
Helper V
Helper V

Setting up a Work Queue in Power Apps

Hello,

I built an application in PowerApps whereby form submissions are assigned to respective users by the person/group field.  Is there a way to create a screen whereby users whom items have been assigned to can access their work queue.  So a "My work queue" button that takes them to a screen similar to the BrowseGallery screen, whereby they can only see items assigned to them.  If anyone clicks on that button and items are not assigned to them the screen should remain blank.  Any assistance appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

HI @joshieboy ,

Apart from the fact that User().FullName is not Delegable, you also need to refer to the field element

At App OnStart, do this

Set(varUser,User())

 then

Filter(
   'Initial Incident Notification',
   FirstLevelReviewer.DisplayName=varUser.FullName
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @joshieboy ,

Why not simply filter the gallery to only show items assigned to them. What is your gallery filter code?

Hi Warren,

I'm not sure I understand.  I created a new screen and added a gallery to it.  The name of the List in SharePoint that I am connecting to is "Initial Incident Notification", and the name of the person picker field is "First Level Reviewer".  I would like when a name is placed in that field and the form submitted, that a user selecting "My Work Queue", once their name is in that field, items will show for them to action.  Further to this, once they action and change the status of an item to "Implementation Verified" or "Investigation Complete" and they go back to their work queue, any items with those statuses should fall off the work queue, and only the outstanding ones remain.  

 

I tried this initially on the Gallery default property to at least get the name but got an error:  Filter('Initial Incident Notification',FirstLevelReviewer=User().FullName)

 

Any guidance appreciated.

HI @joshieboy ,

Apart from the fact that User().FullName is not Delegable, you also need to refer to the field element

At App OnStart, do this

Set(varUser,User())

 then

Filter(
   'Initial Incident Notification',
   FirstLevelReviewer.DisplayName=varUser.FullName
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Perfect.  Thank you Warren.  Greatly appreciated.

Helpful resources

Announcements
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 (3,831)