Backend Function scenario levels
BF-L1 Input/output validation, formatting, and data masking (available to all users)
- Validate parameter format, type, size, and similar constraints
- Mask sensitive fields such as ID numbers, phone numbers, and bank card numbers
- Convert dates, times, amounts, and similar values to the specified format on output
BF-L2 Common business rules (available to all users)
- Add business-rule checks, such as "delivery date must not precede the shipping date" or "sale price must not fall below cost"
- Derive new fields dynamically from existing ones — totals, total amounts, average prices, and so on
BF-L3 Complex business logic (available to all users)
- Quick access to common utilities — UUID generation, JSON handling, common hash and encrypt/decrypt operations
- Query across multiple datasets/tables, or fetch multiple records at once
- Apply data-permission checks and filtering to returned data
BF-L4 Advanced features (Pro Edition only)
- Call and execute custom SQL from a BF
- Make HTTP API calls
- Wrap parts of a BF in transactions to keep data consistent
- Configure BFs in scheduled tasks to schedule and run recurring jobs
BF-L5 Enterprise integration and customization (Enterprise Edition only)
- Extend the Service layer of the Java runtime to expose private services that Backend Functions can call
- Implement Java runtime extension points to isolate data across tenants
- Integrate your own SDKs for custom complex logic
- Integrate your own LLM inference services
Diagram:
