Using Field Values to Halt Processing

You can use the MESSAGE function to halt processing based on the value of a field. For example, if you want to halt processing if the account number is null, you could define a field called %%ACCOUNT_NUM and specify the following in your rule file:

if %%ACCOUNT_NUM = "" then 
     message(1, S, "Account number is missing")
endif

This would generate a severe message (as indicated by the “S”) which would halt processing. For more information on the MESSAGE function, see the EngageOne™ Enrichment Language Reference Guide.