Input Validation in the flow

To prevent the user from proceeding in the flow or leaving the screen use ShowError or FlowAbortException

code

Use ShowError instead of ShowMessage

    Columns.Add(Orders.OrderID);
    Columns.Add(Orders.CustomerID);
    Flow.Add(() => Message.ShowError("Customer ID has A in it")
        ,() => Orders.CustomerID.Value.Contains("A"));
    Columns.Add(Orders.EmployeeID);
    Columns.Add(Orders.OrderDate);
    Columns.Add(Orders.RequiredDate); 

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com