Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.finwatch.finance/llms.txt

Use this file to discover all available pages before exploring further.

Condition is a logical test that evaluates to either true or false. Conditions are defined within the when block of a rule. A rule’s action is only triggered if the entire set of conditions in the when block evaluates to true. Conditions can be simple comparisons or complex, stateful checks, and they can be combined using logical operators. Structure & Examples: Simple Comparison: A direct comparison between a transaction field and a static value.
when
    amount > 10000 and currency == "USD"
...
List Membership: Checks if a field’s value is present in a predefined list
when
    destination.country in ("NG", "GH", "KE")
...
** Regular Expressions:** Matches a field’s value against a regex pattern
when
    source.account_number regex "^(0|234)?[789][01]\\d{8}$"
.....