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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to By Pass or ReRo...
Power Apps
Answered

How to By Pass or ReRoute Action Based on Hierarchy

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've have a MemberList. Each Member is assigned a 'ProgramHierarchy' (National, Region, Park, Employee).

 

In the app there is a 'Create New Member' screen. Currently when anyone completes the form (really a Gallery) on the screen (see below) the data is pushed to a NewMemberList for archive and to another Gallery for approval; there approvers are those with 'National' level ProgramHierarchy. 

3csman_0-1613922390149.png

 

Those with 'National' level ProgramHierarchy have questioned why (as the process currently works) should they have to participate in the extra step of approving 'their own' new employee submissions. They have asked if when the system recognizes 'them' (by their Username (pulled from the active directory and found on the MemberList), that when 'they' submit a new member request the condition send the item directly to the archive (NewMemberList) and create the new member item in the MemberList at the same time; eliminating the second Gallery approval step. However, if any other ProgramHierarchy level is creating the request the normal routing and approval should occur.

The button condition is -
patch.JPG

Categories:
  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    It looks like you need to wrap it in an If.  

     

    The logic would be something like this:  I think if I remember right you are setting something on app start that recognizes the current user's heirarchy?

     

    So here is your logic:

     

    If the current user Heirarchy = National, patch the new member directly to the new member list, otherwise patch the new member approval list collection.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, I agree.

     

    I stumbled into a similar answer yesterday.

     

    Thank you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard