Execution Engine
Command execution framework with 65+ built-in commands for interacting with the banking system, executing business logic, and integrating with external services
65+ Built-in Commands
Comprehensive command library covering communication, queries, transactions, documents, APIs, and business rules.
- 50+ Query commands for data retrieval
- Transaction commands (loans, deposits)
- Communication commands (email, SMS)
- Document generation commands
- API integration commands
JavaScript Scripting
Full JavaScript support via Jint engine with access to all system commands and rich context objects for complex business logic.
- Execute commands via doCmd()
- Access workflow data via context
- Utility functions (crypto, encoding)
- Custom validation logic
- Sandboxed secure environment
Seamless Integration
Direct integration with the Process Engine for event-driven, context-aware operations with real-time data access.
- Event-driven execution
- Context-aware operations
- Real-time data access
- Audit trail for all executions
- Error handling and logging
Command Categories
Query Commands (50+)
- GetFullTableQuery - Query custom BPM tables
- DoSqlQuery - Execute SQL queries
- RetrieveLoanListQuery - Get loan lists
- RetrieveDepositListQuery - Get deposits
Transaction Commands
- CreateLoanCommand - Create new loans
- InitiateDepositCommand - Deposit money
- InitiateWithdrawalCommand - Withdraw
- InitiateTransferCommand - Transfer funds
Document & API Commands
- GenerateDocumentCommand - From templates
- RenderHtmlCommand - Render HTML
- APICallCommand - HTTP API calls
- BusinessRuleCommand - Execute rules
Quick Example
// Execute a command using doCmd()
var result = doCmd('GetFullTableQuery', {
Data: {
table: 'tblLoanPricing',
filter: 'MinAmount <= ' + context.amount + ' AND MaxAmount >= ' + context.amount
}
});
if (result.isSuccessful) {
// Use the result data
context.pricing = result.data[0];
context.interestRate = context.pricing.InterestRate;
} else {
// Handle error
throw new Error(result.message);
}Ready to Build?
Explore the full command library and start building powerful automation workflows