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:
Match the source name exactly to how it appears in your data
Transform your Source as needed (e.g., to lowercase for case-insensitive checks). Please refer to: emite IPaaS Transformations
Check if you can reference nested objects (e.g., customer.address.city)
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.