...
It will cause the analysis for the recordset to stop and add the defined warning message in the log.
Warning |
---|
Analysis Modelling All tables in an Analysis Model preceding the table where stop() function is called will be marked as complete. Actionflows When updating existing records using an Actionflow the tables preceding the action node where the stop() function is called will be complete. When inserting new records using an Actionflow, when the stop() function is called all recordssets will be marked as incomplete. |
Syntax
stop(message)
Argument | Type | Description |
---|---|---|
message | String | Message to be output to the log. The message can be an expression but must evaluate to a string. |
Examples
In this example, if the rate value is not found then there is no point continuing so a warning message is added to the log file and analysis for this recordset stops. No records are written to the database for this recordset.
...
Code Block |
---|
ifNull(in.rate, do( error("Missing rate value") stop("Processing being stopped") ) ) |
...
Excerpt | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
Process Functions
|