🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
EAL
This page was created by Edgar on 2025-09-19. Last edited by Edgar on 2025-09-19.

EAL (Executable Action Language) Documentation

Welcome to the Executable Action Language (EAL) section of the MDriven Documentation. EAL extends OCL with imperative features so you can perform actions: assign values, create/delete objects, mutate collections, save to persistence, navigate ViewModels, call external APIs, and transform data.

If you already know OCL for expressions and constraints, EAL lets you do things with those results.

Introduction to EAL

Start with the core ideas and where EAL is used (buttons/actions, state machines, ViewModels, ServerSide ViewModels).

Writing EAL Actions

Learn the building blocks you’ll use in actions.

  • Assignment & sequencing: :=, ;
  • Conditionals & loops: whentrue, whenfalse, foreach
  • Object lifecycle: create, delete, setToNull
  • Persistence: Save, Refresh, Search, ReQuery

EAL Operators by Category

Browse EAL operators grouped by what you want to accomplish. Each item links to a real operator page.

Assignment & Flow Control

Collection Manipulation

Object Lifecycle & State

Server & Persistence

Navigation & UI

Import, Export & Transform

External Communication