Workflow Issue - Wont Run Second Condition

I can’t seem to make my workflow work correctly. If it makes any difference I am using Glide Free version.

My work flow runs off submit button and I have it giving notification, setting a column value and, depending on status of the animal, clearing a field. But despite the testing it changing the status accordingly, it never goes to the second option. Eg., if the animal status is Adopted or Deceased it never runs the second option as it should. It always only runs the first despite the value of the Status field. What am I doing wrong?

Status is clearly Adopted so it should run the second condition in the workflow but it never does…

1 Like

What is the second condition in your conditional check in each case in the workflow?
I can’t tell from the screen shot. You are using an OR condition, so that means if either is true in the first condition, it will always follow that branch.

1 Like

YEah I thought OR was the best option as it will be Status is either Adopted OR Deceased. The second one is Status IS Adopted or Status IS Deceased, do this… I even tried it with just an Else but it still never triggered.

1 Like

The way you have that setup, if the status is either Adopted or Deceased then the first branch will always trigger.

Let me explain:

You have: Status is not Adopted OR Status is not Deceased

Example 1. Status is Adopted. Because the status is not Deceased, the 2nd condition is satisfied.
Example 2. Status is Deceased. Because the status is not Adopted, the 1st condition is satisfied.

Either way, the test passes.

I’m not exactly clear what the logic should be, can you tell me in plain english what you want to happen?

Oh… Okay, so perhaps it is how I have set it up (as this is my first conditioning in a workflow).

Essentially what I want to happen is it will look at the Status column. If it is NOT Adopted or if it is NOT Deceased, I want it to send notification, update Column X. But if anything else (which, in my logic, means the Status IS either Adopted or Deceased), I want it to send notification, update Column X and clear Column Y.

Ahhh, so I’ve tried it where I say my IS first and that seems to work. So I’ve gone if Status IS Adopted or if Status IS Deceased, do this, else if Status is NOT Adopted or Status is NOT Deceased, do this. And that seems to work… Not sure why one way works and one doesn’t but it works and that is all that matters :slight_smile:

So, even though I swapped them around and it seems to work, if I left it with my NOT ones being first, should I have it set to AND instead of OR? So Status is not Adopted AND Status is not Deceased? If I set it to AND would it have picked up and done the action if the status was either Adopted or Deceased? It would, wouldn’t it?

I would switch it around, like so:

  • If Status is not Adopted, AND Status is not Deceased
    – Update column X
    – Clear column Y
  • Else
    – Update column X
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.