cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NorthernChuck
Helper III
Helper III

Condition cancels with no inputs but succeeds when condition is true

....... at first I thought this one was going to be easy. 

Scenario
I am receiving events triggered by a synthetic transaction software that does things like upload to onedrive, download and delete, send/receive email, teams network check/IMs/calls, SPO, URLs etc. 
This thing shoots webhooks out and I grab them into PowerAutomate. The variable in question is TicketStatus which is notated in the flow as intTicketStatus. Once my variables are populated from the incoming http message, I then proceed through a bunch of Conditions to verify that what I'm looking at actually has data in it. If it doesn't I create a message noting that it's blank. 
Once all the pre-flight checks are done I then go down to the meat and potatoes, another simple Condition. IF intTicketStatus is less than or equal to 1. A zero means recovered and a 1 means warning, 2/4/8 meaning yellow and red alert 🙂

I clicked on the Condition and ensured "run after successful" was checked for the previous step (An Apply to Each). Unfortunately this still fails. I then thought, "Well maybe FLOW hates it when I IF the variable twice in one flow", so I made intTicketStatusClone and tried that, same thing - Skipped no Input. The weird part is when intTicketStatus is a 0 or 1, it matches and hits YES. 
argh............ I'm going to try and get rid of the apply to each using range() <--- excellent trick btw!  ..... i'm missing something obvious as to why the condition is skipping..... 

NorthernChuck_0-1619179384148.png

NorthernChuck_1-1619179429697.png

NorthernChuck_2-1619179472863.png

NorthernChuck_3-1619179517626.png

 

NorthernChuck_4-1619179543834.png

NorthernChuck_5-1619179588000.png

NorthernChuck_6-1619179611471.png

 

5 REPLIES 5
NorthernChuck
Helper III
Helper III

So I have modified this. The Apply to Each is now gone. I also eliminated the first condition check TicketStatus. My condition check still fails. 

NorthernChuck_0-1619183099015.png

 

NorthernChuck_1-1619183123582.png

NorthernChuck_2-1619183164798.png

I don't understand what is causing the Condition to skip............

NorthernChuck_3-1619183435368.png

 

 

I flipped it around and it is still doing the same thing .. this is actually a good thing in the end, flipping the logic made the flow simpler 🙂 I still don't understand this bloody skip no input thing....

 

NorthernChuck_4-1619183727392.png

 

I think I solved my own problem !!! YAY!!!!!
So I think the issue is when you click test and say you'll use old data. I think there's something glitchy there. The one test I did with previously used data failed with the same skip no inputs
An actual new http msg came in and it is hanging at running (as it should be, it's an AdaptiveCard waiting for input). I'll continue to observe, but I think the flipping of the Condition logic fixed this unknown trouble which was exacerbated by the 'test' component. 

NorthernChuck_5-1619184179159.png

 


 

! BLAST IT ! it is still doing it. It is just failing the opposite way 😛 

NorthernChuck_6-1619184305317.png

If I go up I can verify that the status is equal to '1' at this particular run by double checking the variable and the compose on the no branch. At least this way when there's an escalating emergency it is sending out the corresponding alerts. 

That condition shouldn't says "No Input" it should say "False" .......... 

NorthernChuck
Helper III
Helper III

I've opened a case with Microsoft Premiere on this issue.
Note, I've also replicated the same thing on Azure Logic flows. So I don't think this is just me. 
@Paulie78  @Pstork1 -> I'm curious if either of you can replicate. Using HTTP request as the trigger, whatever you want for a schema, then place an if condition, measure something (string or integer) and lemme know what happens. 
I replicate the fail no input in both Power Automate (biz account) and Azure Logic (personal account). 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA 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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (75,069)