package arez.doc.examples.actions;

import arez.Arez;
import arez.Flags;

public class ActionExample4
{
  public static void main( String[] args )
    throws Throwable
  {
    final int result = Arez.context().action( "MyAction", () -> {
      // Interact with arez observable state (or computable values) here
      //DOC ELIDE START
      int value = 0;
      //DOC ELIDE END
      return value;
    }, Flags.READ_ONLY );
  }
}

@@ -29,16 +29,41 @@
 tions;%0A%0A
+import arez.ActionFlags;%0A
 import a
@@ -423,16 +423,22 @@
 %0A    %7D, 
+Action
 Flags.RE

Use correct constant class