Skip to main content

Condition

Conditions are the foundational criteria used to evaluate whether specific operations should be executed within a workflow. They act as filters or checks that must be met for a workflow to proceed. Conditions ensure that actions are only triggered for objects that match the defined criteria.

Condition attributes

AttributeDescription
Condition NameA unique name for the condition.
DescriptionA brief explanation of the condition's purpose.
Condition TypeThe type of condition.
ResourceThe object or entity to which the condition applies.

Condition types

Conditions can be classified into various types based on their evaluation mechanism. Each type has specific attributes and behaviors that determine how the condition is processed.

Examples

We would like to illustrate the concept of conditions with a few examples:

Matching conditions based on the certificate common name and public key algorithm:

  • Condition Name: Certificate CN contains example.com
  • Description: This condition checks if the common name of a certificate contains the string "example.com"
  • Condition Type: Check Field
  • Resource: Certificate
  • Condition Items: Property 'Common Name' contains 'example.com'

Matching conditions based on the certificate public key algorithm:

  • Condition Name: Certificate Public Key Algorithm is RSA
  • Description: This condition checks if the public key algorithm of a certificate is RSA
  • Condition Type: Check Field
  • Resource: Certificate
  • Condition Items: Property 'Public Key Algorithm' equals 'RSA'