You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/workflow.json
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1307,6 +1307,10 @@
1307
1307
"type": "string",
1308
1308
"description": "Sub-workflow unique id"
1309
1309
},
1310
+
"repeat": {
1311
+
"$ref": "#/definitions/repeat",
1312
+
"description": "SubFlow state repeat exec definition"
1313
+
},
1310
1314
"stateDataFilter": {
1311
1315
"$ref": "#/definitions/statedatafilter"
1312
1316
},
@@ -1980,6 +1984,39 @@
1980
1984
}
1981
1985
},
1982
1986
"required": []
1987
+
},
1988
+
"repeat": {
1989
+
"type": "object",
1990
+
"properties": {
1991
+
"expression": {
1992
+
"type": "string",
1993
+
"description": "Expression evaluated against SubFlow state data. SubFlow will repeat execution as long as this expression is true or until the max property count is reached",
1994
+
"minLength": 1
1995
+
},
1996
+
"checkBefore": {
1997
+
"type": "boolean",
1998
+
"description": "If true, the expression is evaluated before each repeat execution, if false the expression is evaluated after each repeat execution",
1999
+
"default": true
2000
+
},
2001
+
"max": {
2002
+
"type": "integer",
2003
+
"description": "Sets the maximum amount of repeat executions",
2004
+
"minimum": 0
2005
+
},
2006
+
"continueOnError": {
2007
+
"type": "boolean",
2008
+
"description": "If true, repeats executions in a case unhandled errors propagate from the sub-workflow to this state",
2009
+
"default": false
2010
+
},
2011
+
"stopOnEvents": {
2012
+
"type" : "array",
2013
+
"description": "List referencing defined consumed workflow events. SubFlow will repeat execution until one of the defined events is consumed, or until the max property count is reached",
0 commit comments