...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/ Optional | Notes |
---|---|---|---|---|---|---|
name | Defines the name of the check item. ES allows you to define check items for each transition. | N/A | Optional | |||
forEvent | Defines whether the check item is required for a specific transition. A check item can be required for more than one event, in which case, a user can give a comma (",") separated list for the forEvent attribute. | Null : Keeping the forEvent attribute empty means that a specific check item is not required for any transition event. | Optional | The forEvent value is defined under the <transition> element with the event event attribute. |
Sample implementations
Code Block | ||
---|---|---|
| ||
<data name="checkItems"> <item name="Effective Inspection Completed" forEvent=""></item> <item name="Test Cases Passed" forEvent=""></item> <item name="Smoke Test Passed" forEvent=""></item> </data> |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/ Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the event for which this validation should be performed. This gives you the flexibility to define validations for each event. As you have the ability to define validations for check items, it makes it easy to validate different things at different levels. | N/A | Mandatory | The forEvent value is defined under the <transition> element with the event event attribute. | ||
class | Defines the class that is executed at runtime to perform the validation. You must give the full, qualified name of a class that implements the CustomValidations interface, as the value for the class attribute. | N/A | Mandatory |
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/Optional | Notes |
---|---|---|---|---|---|---|
forEvent | Defines the respective transition for which the JavaScript function is executed. | Mandatory | The forEvent value is defined under the <transition> element with the "event " attribute. |
Sample implementations
...
Attribute | Description | Type | Default Value | Fixed Values | Mandatory/ Optional | Notes |
---|---|---|---|---|---|---|
name | This attribute defines the name of the parameter. |
| all these parameters are mandatory. | |||
value | This attribute defines the value held by the parameter. |
...