### Title

Evaluate

### Post

I don't understand why this does not evaluate to1.

I have a tool that i can evaluate individual items in a calculation.

Both memory variables evaluate to what the data viewer does...with in the calculation, but if i evaluate $OriginService = "D" that is 0. The same for $DestinationService.

Your syntax is incorrect. Use:

If [ $OriginService = "D" and $DestinationService = "D" ]