cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikitamobile85
Helper II
Helper II

Condition check behaves as not expected

Hi,

 

I have a condition in my flow as (screenshot 1) which checks whether an approver is assigned or not and returns True or False.

In this particular case it happened that Condition shows up as canceled (screenshot 2) though it had to be True and it worked like it was True and approver has received this request. Approver says he pressed Approved but it is Rejected in the final status. What does this cancelled status for condition means? 

 

nikitamobile85_0-1636001392290.png

nikitamobile85_1-1636001438736.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @nikitamobile85,

 

Thanks for sharing that screenshot.

 

When you are using a terminate action and set the status to cancelled, it will cancel the whole flow and the result of the Condition - LR action above it will also get the status cancelled.

 

In your setup this will only happen when it is meeting conditions for the If No branche of the Condition - LR.

 

What is the reason that you are using a terminate action?



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

6 REPLIES 6
Expiscornovus
Super User
Super User

Hi @nikitamobile85,

 

Can you share a screenshot of what type of actions you have configured in the If Yes and If No branch?

 

And do you by any chance have a Terminate action with the status Cancelled somewhere in your flow?



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Hi @Expiscornovus ,

 

please see the screenshot attached

nikitamobile85_0-1636030458149.png

 

Expiscornovus
Super User
Super User

Hi @nikitamobile85,

 

It looks like your first condition works fine, because it successfully executed the Update item action in your If Yes branche. So, your Condition - LR approval worked.

 

However, I think the root cause of your Cancelled status is within the Condition - LR action. Can you expand that one as well and make another screenshot?



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Hi,

 

yes I have terminate action at the end for cancelled. Please see the screenshot below. However normally in case of rejection control item is not being cancelled like this time

nikitamobile85_0-1636349841975.png

 

Expiscornovus
Super User
Super User

Hi @nikitamobile85,

 

Thanks for sharing that screenshot.

 

When you are using a terminate action and set the status to cancelled, it will cancel the whole flow and the result of the Condition - LR action above it will also get the status cancelled.

 

In your setup this will only happen when it is meeting conditions for the If No branche of the Condition - LR.

 

What is the reason that you are using a terminate action?



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


 I have simulated the situation and rejected request on behalf of LR. It really shows up as cancelled. Now I realize that this turns out to be a normal behavior in case of rejection. Thank you for your support! I'm closing this.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,077)