Description
When upgrading to agent version 5.03, some client custom configuration files must potentially be updated
Update configuration_wkf_rules_attributes.yml file structure
If this file has not been overridden in the override_config folder, no action is required.
The structure of the configuration_wkf_rules_attributes.yml file has changed, and now includes separate configuration for
rules and workflows.
The original file was as is:
attributes:
- name: "CATEGORY"
enabled: true
- name: "PO"
enabled: true
- name: "PRODUCT"
enabled: true
- name: "ACTION"
enabled: true
- name: "TYPE"
enabled: true
- name: "CLASS"
enabled: true
- name: "METHOD"
enabled: true
It must now be split into separate rules and workflows sections (note the addition of the STATUS entry for workflows).
rules:
non-matching-value: "OTHERS" # value applied when attribute's value does not match its value-match-pattern.
attributes:
- name: "CATEGORY"
enabled: true
# value-match-pattern: '.*' # Optional: applies to all values by default.
- name: "PO"
enabled: true
- name: "PRODUCT"
enabled: true
- name: "ACTION"
enabled: true
- name: "TYPE"
enabled: true
- name: "CLASS"
enabled: true
- name: "METHOD"
enabled: true
workflows:
non-matching-value: "OTHERS"
attributes:
- name: "PO"
enabled: true
- name: "PRODUCT"
enabled: true
- name: "ACTION"
enabled: true
- name: "STATUS"
CATEGORY, TYPE, CLASS and METHOD attributes are not used in workflows.
Two new properties have been added:
-
value-match-pattern: a pattern defined per attribute -
non-matching-value: the fallback value used when the attribute value does not match the defined pattern.