min
max
{ "rules": [ { "constraint": "COUNTER", "type": "WORKING_DAYS", "min": 2, "max": 4 } ] }
{ "rules": [ { "constraint": "COUNTER", "type": "DAYS_IDLE", "min": 1, "max": 2 } ] }
{ "rules": [ { "constraint": "COUNTER", "type": "WEEKENDS_IDLE", "min": 1, "max": 2 } ] }
{ "rules": [ { "constraint": "COUNTER", "type": "WORKING_SHIFT_TYPE", "tags": [ "NIGHT" ], "max": 3 } ] }
from
to
{ "rules": [ { "constraint": "COUNTER", "type": "WORKING_SHIFT_TYPE", "tags": [ "NIGHT" ], "max": 3, "period": { "from": "2024-03-06T08:00:00", "to": "2024-03-10T17:00:00" } } ] }
{ "rules": [ { "constraint": "COUNTER", "type": "WORKING_SHIFT_TYPE", "tags": [ "NIGHT" ], "max": 3, "period": { "duration": "PT3D" } } ] }
{ "rules": [ { "constraint": "SEQUENCE", "type": "WORKING_DAYS", "min": 2, "max": 4 } ] }
{ "rules" : [ { "constraint" : "COUNTER", "type" : "HOURS_WORKED", "period" : { "duration" : "PT72H" }, "min" : 20, "max" : 1, "tags" : [ "NIGHT" ], "then" : { "constraint" : "SEQUENCE", "type" : "DAYS_IDLE", "min" : 2, "max" : 1 } } ] }
Was this page helpful?