Skip to content

Commit

Permalink
Limits duration of Sleep Task to 5 minutes (max before Camunda restar…
Browse files Browse the repository at this point in the history
…ts process).
  • Loading branch information
jdrodjpl committed Jan 21, 2025
1 parent b17d422 commit 287adb8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion install/modeler/elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,12 @@
"expression": true
},
"constraints": {
"notEmpty": true
"notEmpty": true,
"pattern": {
"value": "(^[1-9][0-9]{0,5}$)|(^\\$\\{[a-zA-Z_].*\\}$)",
"message": "Must be a positive integer not exceeding 300000 (5 minutes)"
},
"max": 300000
}
},
{
Expand Down

0 comments on commit 287adb8

Please sign in to comment.