# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

class CoreWorkflow::Condition::IsNot < CoreWorkflow::Condition::Backend
  def match
    return true if value.blank?

    result = true
    value.each do |current_value|
      next if condition_value.exclude?(current_value)

      result = false

      break
    end
    result
  end
end
