cds
cds copied to clipboard
Check property ok with UI but not with as code
trafficstars
Hello,
When trying to edit as code a workflow, there is an error saying additionalProperty "check" exists in instance when not allowed which prevents from doing anything with as code.
However if we go through UI and "Edit the context" it works and the check property is generated automatically in the as code
Example :
pipeline:
conditions:
check:
- variable: cds.manual
operator: eq
value: ""
Found what the issue was, I had another condition that was causing conflicts, maybe the "Edit context" should also prevent adding checks if not valid ?