Difference between revisions of "ScriptCondition"
(Created page with "This feature allows you to specify conditions that the incoming object, possibly in connection with the elements in the environment, must meet. In the Script context the followi...") |
(No difference)
|
Latest revision as of 10:35, 2 January 2015
This feature allows you to specify conditions that the incoming object, possibly in connection with the elements in the environment, must meet.
In the Script context the following variables have bee defined:
- environment : the execution environment
- dataName : the name of the environment object to check
- logger : a Log4J Logger instance
The ScriptCondition Element is used by: Conditions, NextAction.
The following table shows the ScriptCondition element's attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value condition. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.internal.condition.ScriptCondition. |
condition | required | This attribute defines the name of the condition. Unique inside the 'Conditions' element. |
throw-exception | optional | If true an error during execution cause an Exception to be thrown.
If false an error during execution cause the condition to return "false". Default to "false". |
Its subelements are:
- Description
- Script: containing the script to execute.