ValidateKeyExistsYamlConditions
Overview
For each specified parameter value, raise an error if there is no data in the specified YAML file.
In the YAML being checked, set this YAML to fields.validate.key_exists_yaml_conditions.
Example
header:
base_type: MultiYamlAction
multi_yaml_action:
type: ValidateKeyExistsYamlConditions
ignores:
- value: 0
multi_yaml_action:
- yaml: item/item.yaml
key: Id
conditions_param: Item
- yaml: unit/unit.yaml
key: Id
conditions_param: Unit
...
Details
yaml
yaml: item/item.yaml
- Definition: Required
Specify the YAML that contains the items to check.
key
key: Id
- Definition: Required
Specify the name of the key to check.
conditions_param
conditions_param: Item
- Definition: Required
Specify the value of the parameter.