Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Maker checker functionality

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I currently use D365 CE / SaleHub

 

I am trying to build an approval workflow that allows me to get approvals before user input is committed to the table.

i.e. If a user tries to change a field in a table, an approval should be fired off and depending on the outcome the changes may be committed to the table or dropped.

 

In the workflow I would like to see old value and new value of the field.

 

In the current D365/PowerApps setup i can only do that after the changes have been committed to the table.

 

 

  • Linn Zaw Win Profile Picture
    2,982 on at
    Re: Maker checker functionality

    @Anonymous 

    If you want a perfect solution to "get approvals before user input is committed to the table on a model-driven app", you will definitely need a Pre-Operation plug-in to capture the old/new values and create an approval in "change queue table" as @FLMike mentioned and then, remove those changes from the Target. There is no way to achieve it with low-code components without any development (at the moment).

     

    One alternative solution is to revert the data asynchronously and get approval before updating it with new values.

    • A cloud flow is triggered when the Account is updated - unless there is a value in a hidden column (refer to the last bullet point)
      • Retrieve the audit data of that Account
      • Create a new approval row in "change queue table" with the old value and new value
      • Kick off the approval
      • Update the Account back to the old value
    • Once the changes are approved,
      • Update the Account again with new values permanently this time
        • In the Update above, make sure to set a value to a hidden column so that the same flow is not being triggered with an infinite loop

    @Expiscornovus has an awesome blog post on how to get the old value from the Audit table.

    https://www.expiscornovus.com/2023/09/19/get-dataverse-row-changes/

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Maker checker functionality

    Hi @FLMike  Thank you for your response I wanted to enable this feature on the account table, and I am using the D365 forms on a model driven app. The problems are 

     

    1. I can only fire the workflows after the data has landed in the Dataverse.
    2. I am unable to capture the old value so I can display in the approval.
    3. I tried to leverage the audits table but with no joy there either.

     

     

  • Michael E. Gernaey Profile Picture
    42,468 Super User 2025 Season 1 on at
    Re: Maker checker functionality

    Firstly Hello 🙂

     

    I agree with what you have said. Unless you are using plugins + workflows or just plugins this is the case.

     

    The issue I see with trying to do it in Power Apps (Canvas Apps) and Power Automate is that what would happen is person A goes to make a change and the approval goes out.

     

    Then person B does and theirs gets approved and written but A's is still not done. 

     

    Like anything you'd have to capture the current state, and then at approval time compare that to the "current current state" to show the approver, but by then Person A may not want the change anyway because B's supersedes it.

     

    I mean you could do this and I'm just showing you what's possible

    1. create a change queue table

    2. put the changes there

    3. kick off approval

    4. if approval apply the change via the Flow


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics