Skip to main content
Version: 4.x

Call (EXEC)

The EXEC operator creates an action that executes another action, passing it specified properties (arguments).


Syntax of the EXEC operator.


// declaration of importData action with two parameters
importData(Sku sku, Order order) {
MESSAGE 'Run import for ' + id(sku) + ' ' + customer(order);

order = DATA Order (OrderDetail) NONULL DELETE;
// declaration of the action runImport that calls importData
runImport(OrderDetail d) { importData(sku(d), order(d)); }