Skip to main content

Overview

The AI Developer is an intelligent agent that transforms natural language descriptions into functional code. It helps developers generate business rules, JavaScript expressions, and test data without requiring manual coding. The agent can also edit existing code, provide explanations, and translate between programming languages, significantly accelerating the development process.

Key capabilities

The AI Developer offers two main categories of capabilities:

Generate new code

Generate Business Rule

Transforms natural language descriptions into code using the data model as context. Supports JavaScript, Python, and MVEL. Produces clean, functional business rule code based on text prompts.

Generate Business Rule from Document

Extracts business rule definitions from uploaded documents. Identifies relevant text on each page that describes business rules, summarizes and presents the information to users in a dropdown, and generates corresponding code based on the selected rule description.

Generate (un)Hide JavaScript Expression

Creates JavaScript expressions for conditional visibility of elements. Uses the data model as context for proper variable references.

Generate Computed JavaScript Expression

Produces JavaScript code for calculated or derived values. Uses the data model to ensure proper variable referencing.

Edit existing code

Edit Existing Business Rule

Modifies existing code based on natural language instructions. Uses the data model as context for accurate updates.

Fix / Explain Code

Fixes errors in business rules based on error logs. Provides clear explanations of what the code does.

Translate Code Between Languages

Converts business rules from one language to another. Maintains functionality while adapting to language-specific syntax.

How to use

The AI Developer is accessible through the FlowX.AI Platform interface. Users can:
1

Select the desired capability

Choose the capability you need from the AI Developer section.
2

Provide instructions or upload documents

Provide natural language instructions or upload relevant documents.
3

Specify programming language preferences

Specify programming language preferences when applicable.
4

Review and implement the generated code

Review the generated code and implement it in your process.
For document-based generation, users can upload documents, view extracted rule descriptions in a dropdown, select the rule they want to generate, and receive the corresponding code.

How it works

The AI Developer architecture integrates large language models with the FlowX.AI Platform to convert natural language to code.

Best practices

✅ DO the following

Be specific with your requirements: Clearly state what the business rule should accomplish, including conditions, actions, and expected outcomes.

Reference data model elements: Mention specific data fields or entities that the code should interact with to ensure proper context.

Specify the programming language: Always indicate whether you need JavaScript, Python, or another supported language for your code generation.

Provide edge cases: Mention special conditions or exceptions that the business rule should handle to ensure reliable code.

DON’T do these

Don’t be vague: Avoid ambiguous descriptions that can lead to incorrect implementation. Be precise about the logic you need.

Don’t reference external systems: The AI Developer has no knowledge of external systems not defined in the provided context.

Don’t skip defining variables: Make sure to define all variables or data fields that your business rule will use.

Don’t expect platform-specific knowledge: The agent doesn’t know about keys or information not defined in the data model or provided context.

Agent Builder

Build and configure custom AI agents for your business needs

AI Analyst

Generate process definitions and data models from natural language descriptions

AI Designer

Automatically generate UI components and screen layouts from process definitions
Last modified on March 25, 2026