/
Task planning restrictions

Task planning restrictions

Database

Field

Type

Description

Field

Type

Description

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

changedate

date

Date

changetime

time

Time

Output

taskplanrestrictions

collection[TaskPlanRestriction]

All restrictions changed after the given date/time.

GetTaskPlanRestrictionByTodoID

Get a TaskPlanRestriction for a specific todo/task.

Input

todoid

int

ID of a todo object

Output

taskplanrestriction

TaskPlanRestriction

The restriction for this task, if one exists.



Related content