cds icon indicating copy to clipboard operation
cds copied to clipboard

Check property ok with UI but not with as code

Open marie-j opened this issue 4 years ago • 1 comments
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: ""

marie-j avatar Apr 19 '21 07:04 marie-j

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 ?

marie-j avatar Apr 19 '21 07:04 marie-j