Skip to content

Commit

Permalink
1674 - Update Condition definition to include names for multiple item…
Browse files Browse the repository at this point in the history
…s of type object
  • Loading branch information
ivicac committed Nov 26, 2024
1 parent efec186 commit 49baa13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class ConditionTaskDispatcherDefinitionFactory implements TaskDispatcherD
.placeholder("Add AND Condition")
.expressionEnabled(false)
.items(
object()
object("boolean")
.label("Boolean Expression")
.expressionEnabled(false)
.properties(
Expand All @@ -98,7 +98,7 @@ public class ConditionTaskDispatcherDefinitionFactory implements TaskDispatcherD
.description(
"The boolean value to compare with the first one.")
.defaultValue(false)),
object()
object("dateTime")
.label("Date & Time Expression")
.expressionEnabled(false)
.properties(
Expand All @@ -123,7 +123,7 @@ public class ConditionTaskDispatcherDefinitionFactory implements TaskDispatcherD
.description(
"The date & time value to compare with the first one.")
.defaultValue(null)),
object()
object("number")
.label("Number Expression")
.expressionEnabled(false)
.properties(
Expand Down Expand Up @@ -159,7 +159,7 @@ public class ConditionTaskDispatcherDefinitionFactory implements TaskDispatcherD
.defaultValue(0)
.displayCondition(
"%s != '%s'".formatted(OPERATION, Operation.EMPTY.name()))),
object()
object("string")
.label("String Expression")
.expressionEnabled(false)
.properties(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"hidden" : null,
"metadata" : { },
"required" : null,
"name" : null,
"name" : "boolean",
"type" : "OBJECT",
"defaultValue" : null,
"description" : null,
Expand Down Expand Up @@ -174,7 +174,7 @@
"hidden" : null,
"metadata" : { },
"required" : null,
"name" : null,
"name" : "dateTime",
"type" : "OBJECT",
"defaultValue" : null,
"description" : null,
Expand Down Expand Up @@ -269,7 +269,7 @@
"hidden" : null,
"metadata" : { },
"required" : null,
"name" : null,
"name" : "number",
"type" : "OBJECT",
"defaultValue" : null,
"description" : null,
Expand Down Expand Up @@ -394,7 +394,7 @@
"hidden" : null,
"metadata" : { },
"required" : null,
"name" : null,
"name" : "string",
"type" : "OBJECT",
"defaultValue" : null,
"description" : null,
Expand Down

0 comments on commit 49baa13

Please sign in to comment.