Hierarchy

  • NewTask

Properties

actionIds: string[]

The identifiers of available actions that the task can utilise within a Forms App. The order of the identifiers is respected when displaying actions.

description?: string

A description of the task

formsAppEnvironmentId: number

The related forms app environment id that this task belongs to

linkedResources?: LinkedResource[]

Web links to resources associated with task

name: string

The name of the task

organisationId: string

The organisation id that this task belongs to

schedule: {
    endDate?: string;
    recurrence: {
        interval: "DAY";
    } | {
        day: DayOfWeek;
        interval: "WEEK";
    } | {
        days: number;
        interval: "CUSTOM";
    };
    startDate: string;
}

The schedule that will determine a task's frequency and date range

Type declaration

  • Optional endDate?: string

    The date a task becomes unavailable

  • recurrence: {
        interval: "DAY";
    } | {
        day: DayOfWeek;
        interval: "WEEK";
    } | {
        days: number;
        interval: "CUSTOM";
    }

    The sequence in which the task will occur

  • startDate: string

    The date a task becomes available

swipeLeftActionId?: string

Optional action identifiers for user swipe gestures

swipeRightActionId?: string