Skip to main content
Overview Business Rules are intelligent agent connectors that execute automated logic, validations, and transformations. They enforce business requirements, automate repetitive tasks, and ensure data consistency. They are executed when a process is created or updated for a sub project. Purpose
  • Automate business logic enforcement
  • Execute intelligent decision-making
  • Validate data against business requirements
  • Transform and enrich data automatically
  • Support complex conditional processing
Business Rules Architecture Business Rules operate through Agent Connectors, which are groupings of multiple agents that work together to accomplish specific business objectives. Business Rule Execution Triggers Super Lock An agent could be assigned to apply super lock to a resource for the process. A default behaviour could also be assigned when the agent fails. Business Rules Configuration

Process Context Passing & Consumption

When a business rule (blocking or non-blocking connector) executes, the platform packages the process context into the slots of the agent’s payload. This allows the target agent to access and inspect process details.

Context Structure

The payload sent to the agent is structured in the slots map as follows:

Consuming Context in the Agent

Within the agent code (e.g., Python code executors), the slots can be accessed directly from metaData. For example:

Returning Updates to the Process

To update the process fields from the agent:
  1. Return a dictionary containing a result key (e.g. {"result": {"status": "APPROVED", "remarks": "Auto-verified"}}).
  2. The platform automatically merges this result back into the process’s dynamic fields.
  3. If a blocking agent action fails or raises an error, the platform aborts the process creation/update transaction.
Examples

Validator

Validates data against rules, patterns, or business logic. Blocks action if validation fails.

Transformer

Transforms and enriches data. Calculates computed fields and normalizes values.

External Service

Integrates with external APIs and services. Fetches data and triggers remote actions.

Decision Engine

Makes intelligent decisions based on conditions and business logic. Routes workflows.

Notifier

Sends notifications via email, Slack, webhooks, or other channels. Alerts users and teams.

Lookup

Searches and retrieves data from existing records. Performs duplicate checking.