Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

DESCRIBE MICROFLOW / DESCRIBE NANOFLOW

Synopsis

DESCRIBE MICROFLOW <qualified_name>

DESCRIBE NANOFLOW <qualified_name>

Description

Shows the complete MDL source for a microflow or nanoflow, including parameters, return type, variable declarations, activities, control flow (IF/LOOP), error handling, and annotations. The output is round-trippable MDL that can be used directly in CREATE MICROFLOW or CREATE NANOFLOW statements.

This is useful for understanding existing logic before modifying it, or for extracting a microflow definition to use as a template.

Parameters

qualified_name
A Module.MicroflowName or Module.NanoflowName reference identifying the flow to describe. Both the module and flow name are required.

Examples

Describe a microflow:

DESCRIBE MICROFLOW Sales.ACT_CreateOrder

Example output:

CREATE MICROFLOW Sales.ACT_CreateOrder
FOLDER 'Orders'
BEGIN
  DECLARE $Order Sales.Order;
  $Order = CREATE Sales.Order (
    OrderDate = [%CurrentDateTime%],
    Status = 'Draft'
  );
  COMMIT $Order;
  SHOW PAGE Sales.Order_Edit ($Order = $Order);
  RETURN $Order;
END;

Describe a nanoflow:

DESCRIBE NANOFLOW MyModule.NAV_ValidateInput

See Also

SHOW MICROFLOWS, DESCRIBE PAGE, DESCRIBE ENTITY