Trigger a Conditional Rule Without Coding? Let the AI Assistant Guide You

Trigger a Conditional Rule Without Coding? Let the AI Assistant Guide You.

When building a business application, you often need rules that are simple — but precise.

A classic example: making a field required only under specific conditions.

:speech_balloon: “I want the ‘Reason’ field to be required only if the request type is ‘exceptional’.”

:backhand_index_pointing_right: What if you could just write that in plain English, and let the AI show you exactly how to configure it in ROK?


:robot: What the AI Assistant Does in This Case

  • It understands your business intent expressed in natural language

  • It identifies the right field, the right condition, and the correct property to configure

  • It suggests the exact setting you need to apply:

    → Rule type: “required if condition is met”
    → Target field: Reason
    → Condition: Request Type = exceptional

No need to browse through every option or write complex logic:

:light_bulb: You get guided step by step.


:test_tube: How to Try It Out

  1. Create a simple application with a form containing:

    • Request Type (dropdown with standard values)
    • Reason (text field)
  2. Open the AI Assistant from the side panel.

  3. Type your intent in natural language:

    “I want the ‘Reason’ field to be required only if the request is exceptional.”

The assistant will then provide:

:white_check_mark: the correct configuration
:white_check_mark: and a guided way to apply it with a click


:wrench: Use Case Ideas

  • Leave request forms
  • Budget overrun justifications
  • Reason field when rejecting a request
  • HR fields shown based on contract type

:brain: What It Changes

:white_check_mark: Fewer input errors
:white_check_mark: Fewer clicks for end users
:white_check_mark: Smarter, more context-aware forms


:pushpin: Now it’s your turn: try writing your own conditional rule to the AI Assistant!