/
emite IPaaS Rules

emite IPaaS Rules

emite IPaaS allows you to define conditional logic that triggers specific actions if certain criteria are met. By specifying a Source (the data field to check), an Operator (how you compare), a Value (what you compare against), and an Action (what to do if the condition is met), you can dynamically adjust your workflow behaviour - whether that means returning an empty response, aborting the process, or something else.

Rules can be applied when configuring an Action, in the following areas:

  • Mappings > Update Mapping > Add More Rules

  • Rules > Add More Rules

Please refer to the following table for a definition of each configuration field, along with some examples:

Configuration Field

Definition

Examples

Additional Guidance

Configuration Field

Definition

Examples

Additional Guidance

Source

The data or field you want to evaluate

"City", "Status", "ResponseCode", customer.address.zip

Rules configured directly within the Update Mapping section automatically uses the same source as the mapping itself.

Operator

A predefined list of comparison or matching operators applied to the Source

Available Operators:

  • EqualTo checks if the Source value is exactly equal to the Value.

    • Example: Status = "ACTIVE", Operator = EqualTo, Value = "ACTIVE".

  • NotEqualTo checks if the Source value is not equal to the Value.

    • Example: Role = "ADMIN", Operator = NotEqualTo, Value = "GUEST".

  • GreaterThan checks if the Source value is greater than the Value (numeric, date, etc.).

    • Example: Age = 30, Operator = GreaterThan, Value = "21".

  • LessThan checks if the Source value is less than the Value.

    • Example: OrderDate = 2025-01-01, Operator = LessThan, Value = "2025-02-01".

  • GreaterThanOrEqualTo checks if the Source value is greater than or equal to the Value.

    • Example: Score = 85, Operator = GreaterThanOrEqualTo, Value = "85".

  • LessThanOrEqualTo checks if the Source value is less than or equal to the Value.

    • Example: Temperature = 70, Operator = LessThanOrEqualTo, Value = "70".

  • Is is often used as a synonym for “EqualTo,” but especially for booleans (“Is true,” “Is false”).

    • Example: IsVIP = true, Operator = Is, Value = "true".

  • IsNot is the inverse of “Is.” Good for negating a boolean or status/flag.

    • Example: IsArchived = false, Operator = IsNot, Value = "true".

  • EqualToAny checks if the Source value matches any value in a list.

    • Example: Department = "Sales", Operator = EqualToAny, Value = "Sales, Marketing, Support". Rule passes if Department is "Sales", "Marketing", or "Support".

  • Choose the operator that best fits the type of comparison you need (e.g., numeric, text, boolean)

  • Consider how to handle null/empty fields. Some operators may fail or skip if the Source is null unless you explicitly define how to handle it.

Value

The comparison value (or list of values for EqualToAny) used with the Operator

Premium (string), 404 (numeric), "true" (boolean), etc.

  • Ensure proper formatting. Numeric comparisons require numeric Values; date/time comparisons require date/time strings, etc.

  • Check case sensitivity if comparing strings.

Actions

A predefined list of actions the system takes if the condition is met

Available Actions:

  • NullResponse: Returns or sets the response to null.

  • EmptyResponse: Returns or sets the response to "" (empty string).

  • Abort: Stops the entire process or workflow immediately.

  • Use Abort for critical failures (e.g., invalid data).

  • Abort will prevent all subsequent processing. Only use it where stopping the workflow is indeed necessary.

  • NullResponse and EmptyResponse alter what gets returned, which can affect downstream systems expecting different data.

  • NullResponse or EmptyResponse can also be used to mask or remove sensitive/unwanted data.

Keep an eye on how many rules you create. Combining them or structuring them logically can help with performance.

Related content

emite IPaaS User Interface
emite IPaaS User Interface
More like this
emite IPaaS Referenced Actions
emite IPaaS Referenced Actions
More like this
emite IPaaS End-User Documentation
emite IPaaS End-User Documentation
More like this
emite IPaaS Transformations
emite IPaaS Transformations
More like this
Reports - Configuration & Output
Reports - Configuration & Output
More like this