cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BClouded
Level: Powered On

Approval Changed Record

Hi
I'm working at an App which just displays a Gallery of records in a SQL table. 
Selecting an item in the Gallery shows the form with all fields. When I change a field I need the change being approved first, before submitting the form. 

For adding and removing records I simply update the status field to "Pending Add" or "Pending Del", and I can Filter on these records in another Gallery and on Approval or Declining I patch the records accordingly.

That methode I cannot use on Editing an existing record. Since I can not go back to the previous state when the change is declined.

Can someone help me with this please?

Thanks a lot in advance!
Bart

3 REPLIES 3
Super User
Super User

Re: Approval Changed Record

@BClouded 

I do not understand would like to achieve from your description above.  Can you please share a few scenarios showing how the form should work. Some screenshots of your app would be great too!

Community Support Team
Community Support Team

Re: Approval Changed Record

Hi @BClouded ,

 

Could you please explain why  you "can not go back to the previous state when the change is declined."? Is  Approval or Declining one of the column in SQL table?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BClouded
Level: Powered On

Re: Approval Changed Record

Thanks for thinking with me.
But let me make my question more open.

What I'm trying to achieve is following: I want to implement a possible "undo" of a submitform action; after editing an existing record. So not on adding a new record.

I was thinking of using a "mirror database", like this:
1. Save Record in Mirror DB
2. Submit Changes to Record in Original DB
3. Compare both records in Mirror DB and Original DB -> So approver sees easily what has been changed.
4. On Approve: Remove record in Mirror DB
5. On Decline: Remove record in Original DB and copy record from Mirror to Original DB.

Or is there an easier more direct way to achieve this somehow?

Thanks!
Bart

 

 

 

 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,178)