Edit Scheduled Behavior
Edit execution state of a schedule on given behvior. After edit the behavior will be re-scheduled if the "cronExpression" or the "active" property is changed.
id
behaviorId
scheduleId
{
"id": "string",
"name": "string",
"configuration": {
"target": {
"behaviorRef": {
"name": "string",
"id": "string"
},
"entityRef": {
"name": "string",
"id": "string"
},
"invocationArguments": {
"arguments": {},
"metadata": {}
}
},
"config": {
"active": false,
"runOnce": false,
"retries": 0,
"allowedFailures": 0,
"cronExpression": "30 * * * * * (Executes behavior every 30 seconds)",
"taskTimeout": 0
}
},
"state": {
"execution": {
"taskRef": {
"name": "string",
"id": "string"
}
},
"schedule": {
"inRetryMode": false,
"retryCounter": 0,
"allowedFailuresCounter": 0
}
}
}
The id of the scheduled behavior, used as unique identifier of the schedule.
The name of the scheduled behavior.
Contains target and configuration of behavior to be scheduled.
Contains execution and schedule that represent the current state of the scheduled behavior.
OK
{
"id": "string",
"name": "string",
"configuration": {
"target": {
"behaviorRef": {
"name": "string",
"id": "string"
},
"entityRef": {
"name": "string",
"id": "string"
},
"invocationArguments": {
"arguments": {},
"metadata": {}
}
},
"config": {
"active": false,
"runOnce": false,
"retries": 0,
"allowedFailures": 0,
"cronExpression": "30 * * * * * (Executes behavior every 30 seconds)",
"taskTimeout": 0
}
},
"state": {
"execution": {
"taskRef": {
"name": "string",
"id": "string"
}
},
"schedule": {
"inRetryMode": false,
"retryCounter": 0,
"allowedFailuresCounter": 0
}
}
}
The id of the scheduled behavior, used as unique identifier of the schedule.
The name of the scheduled behavior.
Contains target and configuration of behavior to be scheduled.
Contains execution and schedule that represent the current state of the scheduled behavior.