Browse Source

Fixing definition for filter workflow block

pull/626/head
Andrew Kingston 6 years ago
parent
commit
fdca9240e9
  1. 30
      packages/server/src/api/controllers/workflow/blockDefinitions.js

30
packages/server/src/api/controllers/workflow/blockDefinitions.js

@ -22,7 +22,7 @@ const ACTION = {
},
},
customType: "record",
title: "The record to be written",
title: "Table",
default: {},
required: ["modelId"],
},
@ -206,19 +206,21 @@ const LOGIC = {
inputs: {},
schema: {
inputs: {
filter: {
type: "string",
title: "Reference Value",
},
condition: {
type: "string",
title: "Condition",
enum: conditions,
default: "equals",
},
value: {
type: "string",
title: "Comparison Value",
properties: {
filter: {
type: "string",
title: "Reference Value",
},
condition: {
type: "string",
title: "Condition",
enum: conditions,
default: "equals",
},
value: {
type: "string",
title: "Comparison Value",
},
},
required: ["filter", "condition", "value"],
},

Loading…
Cancel
Save