The Alert Block allows you to add a message to the Audit Trail when certain conditions occur. The block can also display the message in an alert pop-up dialog. An alert can be triggered in one of two ways:
Note When you connect to one of the input ports, the other input port is removed.
When an algorithm is executed from the ADL Designer canvas in client-side simulation, an Alert Block will not generate an actual audit trail message, a message box, or an email. Instead, the Alert Block will generate the specified text in the Alert Tab of the Information Panel. However, if Sound is selected as the method of alert, the Alert Block will generate the specified sound.
To change default block settings, double-click the block to open the Block Editor.
|Name||Name to display beneath the block on the ADL canvas|
Equation used to calculate the value of the block
If not yet defined, the field displays a Click to edit formula link that opens the Formula Builder.
|Frequency||(For Boolean alerts only) Number of seconds to wait before firing the same alert again, as long as the Alert Block input is TRUE.|
Actions to take when the alert is triggered. You can select any number of the following actions:
|Sound||Sound to play the specified sound|
|Audit Trail Color||Color to display as the background color for the the message in the Audit Trail.|
|BodyColor||Background color of the block|
|Description||Optional text to explain how the block is used|