Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Adding additional conditions to an "if" activity

Jason Stephens
Kilo Guru

Hi all,

I gave up on figuring this one out a few years back and used other ways to pull it off the same functionality, but now I'm in the same boat so I would like to know what I'm doing wrong.  

I am trying to add an additional condition to an "if" activity in a workflow.   I have also modified the yes and no OOB ones, so I want:

Parking (formerly yes)

Signage (formerly no)

Both (new)

as conditions.   I have also changed the "activity.result" field for each to match:

activity.result == 'parking'

activity.result == 'signage'

activity.result == 'both'

When I run the workflow, no mater what choice I make on the item for this field (select box with parking, signage, or both as options), it always evaluates to "no".   What am I missing here?   I'm sure it's something simple, but I don't see it...

Thanks for any help!

Jason

5 REPLIES 5

Jim Coyne
Kilo Patron

Can you use the "Switch" Activity (Condition Activities - ServiceNow Wiki) instead?