Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Model Driven App Business Process Flow - Assignee for each stage

(0) ShareShare
ReportReport
Posted on by 125
I have a use case where there are 5 stages and each stage needs to be completed either by a nominated user or a team.
As an example, a user (any) submits a request to start the process. The Finance team then enters all fields related to finance. In the next stage, a nominated manager (by the oringal requestor) enters all fields related to performance. Finally, the Management team reviews and either approves/rejects. See illsutration below:
 
Tono_Analyst2_1-1709211218989.png
  1. Is it possible to assign a user/team to a stage and only allow editing of fields for the assigned user/team?
  2. Is it also possible to prevent editing records that have been captured from a previous stage?

    See illustration below
Tono_Analyst2_2-1709211229481.png

 

In Canvas apps, I would simply provide either a specifc user or a team access to a screen where they can enter the relevant details and they would only be given access when the record is at a specific status. This is my first time looking into Model Driven apps and I am stuggling to understand how I can dynamically restrict access to records throughout the business process flow stages. Any guidance would be greatly appreciated. 
Categories:
  • Ami K Profile Picture
    Ami K 15,650 on at
    Re: Model Driven App Business Process Flow - Assignee for each stage

    @Tono_Analyst2 -

     

    1. Out of the box, it is not possible to "assign" or hide a stage based on the assigned user/team without using  JavaScript. However, it is possible to hide the entire business process flow based on the security profile your users have been given. You can then create multiple BPFs and set the visibility of each BPF on each security profile (one for all users, one for finance, one for management etc). In my experience however, this is cumbersome and maintenance heavy because when inevitable business process changes arise, each BPF needs to be kept in sync.
    2. Apart from using JavaScript, you can leverage Business Rules to make specific fields read-only or hidden based on specific conditions (for example you can make a field read-only based on the output of another field.

    Note you can also leverage Column Level Security to secure fields by assigning your custom security profiles against those fields.

     

    Further reading: 

     

    https://learn.microsoft.com/en-us/power-platform/admin/field-level-security 

     

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/create-business-rules-recommendations-apply-logic-form 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard