AnsweredAssumed Answered

Script Step - If statement

Question asked by lindseym on Feb 7, 2018
Latest reply on Feb 9, 2018 by lindseym


I have a script that is triggered by OnObjectExit I think the issue is on line 2.

IF [PROJECT::Sort By Install MS  ≠   "Location Sheet, Drawing Sheet, Level, Location" or PROJECT::Sort By Install MS  ≠ "Location Sheet, Drawing Sheet, Location"

 

 

What I want from Line 2:

 

If the contents of SORT BY INSTALL MS does not equal "Location Sheet, Drawing Sheet, Level, Location" or does not equal "Location Sheet, Drawing Sheet, Location"  (I will eventually be adding a few more statements) I want it to continue to line 3

 

What I get from Line 2

It proceeds to Line 3 no matter what the contents of SORT BY INSTALL MS

 

 

When I remove the second statement of "or PROJECT::Sort By Install MS  ≠ "Location Sheet, Drawing Sheet, Location" the script works as desired.

 

I know im just getting hung up with the language. Any help?

 

-L

Outcomes