Echo Warning
This command is used to display error messages in the workflow output log. The message
can be text or a numerical expression which is evaluated. The reference to a variable in the
message is substituted with the value of the corresponding variable. The message can include
unicode characters.
The workflow execution continues with the next commands. However, the workflow execution completes with an error. This command provides an ability to report an error conditionally to the user. You can review the reported error messages in the workflow log.
- Syntax
-
Echo Warning: <message>;
- Log Message
- The message argument, as a warning
This table lists the examples of the Echo command:
Requirement | Syntax |
---|---|
If the “Unsatisfied Demand” query contain a result, display a warning message to the workflow log, and mark the workflow completion state as warning. |
|
If the value of the “$allow_lost_sales” variable is greater than 0, display a warning message to the workflow log, and mark the workflow completion state as warning. |
|