cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cycuS
Regular Visitor

Update Approval from PowerApps (force approval flow to move on)

Hi,

 

I am creating two two-tier approval in Power Automate for requests acceptance. Case is:

 

1. User creates a request.

2. First manager accepts from Teams or PowerApps (simple approval flow).

3. User gets notification (Request accepted by manager).
4. Flow moves to second acceptance to second manager. Manager approves.

5. User gets notification (Request accepted by second manager).

 

This all works fine via Teams and adaptive cards. But when I introduce acceptances via PowerApps -> Open specific record and accept this from simple PowerApps form -> I am unable to influence Power Automate flow.

 

I am able to update Approval & Flow Approvals & Approval Responses tables in CDS so Adaptive card in Teams is updated and is no longer valid if user accepted request via PowerApps - so that works fine.

 

But even when I update CDS Approval records I am unable to make Power Automate flow move. Even when this Approval is finished (see pictures) this flow is stuck. I dont know if it is possible to make it run without adaptive card interactions? When I accept request via PowerApps, flow does not go futher so there is no notification sent to a user about request completion and second manager is unable to get his approval (because flow is stuck). Below is a picture showing flow situation even all tables in CDS are updated and adaptive card in Teams (approval adaptive card - see attachments) are updated also.

cycuS_1-1617892462800.png

When I want to update approvals I update CDS tables:

Approval, Flow Approvals, Approval Responses:

UpdatedCDS.PNG

cycuS_2-1617892605587.png

 

Then all records that are connected to created in flow approval are completed. But flow does not react to changes made in database. Should I create some POST request somewhere to pass data to flow?

0 REPLIES 0

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (46,577)