digi-serve / kitchensink_app

Testing all AppBuilder options.
1 stars 1 forks source link

test: can Calculated field be used for conditional on a record rule #30

Closed Achoobert closed 2 years ago

Achoobert commented 2 years ago

blocker for https://github.com/digi-serve/ns_app/issues/12

Achoobert commented 2 years ago
      "recordRules": [
        {
          "selectedAction": "ABViewRuleActionFormRecordRuleUpdate",
          "queryRules": {
            "glue": "and",
            "rules": [
              {
                "key": "Balanced Check",
                "value": "0",
                "rule": "not_equal"
              }
            ]
          },
          "actionSettings": {
            "valueRules": {
              "fieldOperations": [
                {
                  "fieldID": "6031006a-e2bc-4767-b316-bd549aa753fe",
                  "value": "1586248358699",
                  "op": "set",
                  "type": "list",
                  "valueType": "custom"
                }
              ]
            },
            "updateObjectURL": "#/_objects/f241851d-9435-4edd-8476-96001ab15357"
          }
        }
      ]
    },
wongpratan commented 2 years ago

https://github.com/digi-serve/appbuilder_class_core/commit/2256ace04a0d93eb93d4d8638ff4dcaf799ba8bf https://github.com/digi-serve/ab_platform_web/commit/8f34c651cf8ba1e94bcae6d0fe3fc89d833148c5