Document toolboxDocument toolbox

Task planning restrictions

Database

FieldTypeDescription
id key
task_ref reference (Todo) Reference to the task that this restriction is for
other_days enum Allow to be moved to other week days
minimum_distance integer Number of days expected between each planning.
metadata array
create_date date+time Created
change_date date+time Last change
is_deleted bool

GetTaskPlanRestrictionsByLastChange

Get all TaskPlanRestrictions changed after a certain date.

Input

changedatedateDate
changetimetimeTime

Output

taskplanrestrictionscollection[TaskPlanRestriction]All restrictions changed after the given date/time.

GetTaskPlanRestrictionByTodoID

Get a TaskPlanRestriction for a specific todo/task.

Input

todoidintID of a todo object

Output

taskplanrestrictionTaskPlanRestrictionThe restriction for this task, if one exists.