....... 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.....






