From what I understand of what you want to do, you need to rework the bottom part of your flow. I would duplicate the "No" actions after condition 2 and add a condition after the approval request of the director. Then in the the "Reject" branch, do the same actions where you send the email and terminate the flow. See if that works.
Original Message:
Sent: Feb 10, 2023 09:07 AM
From: Prem Guru
Subject: Stop Flow if Rejected at Certain Stage not working
Yes, I believe we should have a Condition after Director.
But I'm still not able to figure out, how?
------------------------------
Prem Guru
Original Message:
Sent: Feb 10, 2023 08:37 AM
From: Kurt Henderson
Subject: Stop Flow if Rejected at Certain Stage not working
Maybe I'm missing something but don't you need a condition after the director approval action to see what the response was and terminate if they rejected it?
------------------------------
Kurt Henderson
President
Original Message:
Sent: Feb 10, 2023 07:28 AM
From: Prem Guru
Subject: Stop Flow if Rejected at Certain Stage not working
Yes! My Condition 2 is a toggle button (In PowerApps form)
If Toggle is False - Director's approval level is skipped and goes for HR approval (which is working as expected)
And if Toggle is Yes - Approval goes to all 4 levels. In this stage when Director rejects, the flow still runs and sends email to HR for approval
So Yes, it is Condition 2 I'm stucked.
------------------------------
Prem Guru
Original Message:
Sent: Feb 10, 2023 06:32 AM
From: Sam Duval
Subject: Stop Flow if Rejected at Certain Stage not working
So is it condition2 in the attached images that you are getting stuck on?
------------------------------
Sam Duval
Data Quality Analyst
Element Financial
Indianapolis IN
Original Message:
Sent: Feb 10, 2023 02:28 AM
From: Prem Guru
Subject: Stop Flow if Rejected at Certain Stage not working
My Bad! See attached of flow.
Basically if we do not add the No condition, the flow works as expected
When the flow is rejected by Functional or Finance Manager, the flows stops. But when the approval is gone to Director, and if the Director rejects, the flow still runs and sends email to HR
There are 4 conditions to my flow - i.e. 1, 2, 3 and 4.
If Condition 4 is false - flow triggers and send email to Functional, Finance and HR (working as expected)
If Condition 1, 2 or 3 is true - flow triggers and sends email to Functional, Finance, Director and HR (working as expected)
So when an email to sent to Director, and if the Director rejects, the flow should get terminate
------------------------------
Prem Guru
Original Message:
Sent: Feb 10, 2023 12:58 AM
From: Damien Rosario
Subject: Stop Flow if Rejected at Certain Stage not working
Hi there
It's a bit hard to read your flow image, however condition 2 has what appears to be a SharePoint field and condition is equal to false.
It does not seem to reference the Finance approvers response as it does in the first condition, and will bypass it which is why your approvals are still triggering.
If you use the Finance outcome field in condition 2 (like your first condition), the Finance approvers response will then be triggered correctly.
Hope that helps!
Cheers
Damien
------------------------------
Damien Rosario
Knowledge and Training Coordinator
Original Message:
Sent: Feb 09, 2023 09:26 AM
From: Prem Guru
Subject: Stop Flow if Rejected at Certain Stage not working
Hello,
See below flow that is working as expected. But when we add to terminate the flow when rejected at certain stage, this seems not working


See below on how my flow works:
- Users Submits the request and approval email is sent to Functional Manager
- If Functional Manager approves, goes to Finance Manager
- When Finance Manager approves, it checks Condition 2. If it's equal to true, it goes for Director's approval else it goes to HR approval
Yes Condition is working as expected. But for No Condition I'm not able to figure out the exact cause
If Functional Manager is rejecting at level 1 - the flow stops (OK)
If Functional Manager approves and when it goes to Finance Manager, and at this stage if it's rejected, the flow still send emails for next approvers (seems at this stage the flow did not got terminated)
Could someone please advise - if at certain stage the request is Rejected and flow should get stopped.
------------------------------
Prem Guru
------------------------------