Script Processor - Made If object.state =    compare to value and label for better matching.