> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create templates and checklists

> Create templates, add tasks and schedules, and generate checklists for field workers to perform at regular intervals.

Use the <span class="ui-element">Templates</span> tab to create and plan tasks that the field workers perform at regular intervals, such as weekly installation operator rounds.

<Frame>
  <img class="screenshot" src="https://apps-cdn.cogniteapp.com/@cognite/docs-portal-images/1.0.0/images/infield_vnext/template_page_v3.svg" alt="Templates page navigation" width="100%" />
</Frame>

① **Action menu** — create templates, add tasks, change the template's status, assign and create checklists, and more (...).

② **Filter** — filter the templates by name, status, labels, and assignee. By default, you see <span class="ui-element">Ready</span> templates assigned to you. You can select **X** to remove filters.

③ **Templates list** — view the list of templates with details.

④ **Tasks list** — view and interact with the list of tasks in your template.

⑤ **Add task** — fill out your tasks with the required details to perform the work in the field.

## Step 1. Create templates

<Steps>
  <Step title="Create and name a template">
    Select <span class="ui-element">+ Create template</span> and name the template.
  </Step>

  <Step title="Optional. Add labels">
    Add existing or create new labels to organize, categorize, and filter work. <br /><br />
    You can also add or remove labels on existing *Draft* templates by selecting … > **Edit template**. You can't delete labels from the system, only remove them from templates. To remove a label, select <Icon icon="x" /> on the label.

    <Info>
      Labels added to templates are automatically inherited by all checklists created from these templates, including the individual tasks within those checklists.
    </Info>
  </Step>

  <Step title="Enter task details">
    Enter name and description, and, optionally, link the task to an asset. A description can be a step-by-step instruction for the task with links where necessary.
  </Step>

  <Step title="Optional. Add task components">
    Select <span class="ui-element">Add to task</span> and then select:

    <Tabs>
      <Tab title="Numerical reading">
        Ask field workers to add measurement readings from equipment. You can set the measurement unit, for example, *bar* for pressure readings and minimum and maximum values. You can search and connect time series created in InField only.

        <Tip>
          InField stores the measurements as time series in CDF, and you can trend and analyze the values using [Charts](/cdf/explore/charts).

          If you've **removed a numerical reading** from a checklist, it's still available as a time series.
        </Tip>

        To create a numerical reading:

        1. Select **+** and fill out the required fields to create the time series.

        2. Optional. Link the time series to a specific asset, otherwise, the time series is linked to the root asset.

        3. Optional. Enter the description for the time series. If provided, the description is used as the numerical reading name in checklists.
      </Tab>

      <Tab title="Check item">
        Add to the task an item that requires a check, verification, inspection, etc.

        1. Add a description of what needs to be done.

        2. Enter the button name, select its color, and link the button to the task status. The task will change its status based on the button field workers select. For example:

           * When field workers work on the checklist and select the button with the linked **OK** status, their task status changes to **OK**.
           * If there's a numerical reading that's out of range (**Not OK**) and field workers select the button with the linked **OK** status, the task status will change to **Not OK** as this task requires attention. In this example, field workers should fill out all numerical readings and items to check for the status to change automatically.

        3. Select <span class="ui-element">+ Add button</span> to add another possible response to the description.
      </Tab>

      <Tab title="Schedule">
        **Schedule** tasks to automatically create them as checklists at regular intervals. You can set checklists to open automatically on specific days, every two weeks, twice a month on Mondays, every 2 years, etc.

        To schedule a task:

        1. Set the time range when the field workers should complete the task. The initial start time is 6 AM in the computer's local time zone. You can change the start time to half-hour intervals.

        2. Optional. Select the time zone <Icon icon="settings" /> .

        3. Specify how often you want field workers to work on this task. For intervals other than daily, weekly, monthly, and yearly, set the start date when to create the first checklist from the task. By default, the date of adding a task is used.

           Once you schedule the task, hover over the calendar icon <Icon icon="calendar-check" /> next to it to see when the next checklist is created.
      </Tab>

      <Tab title="Message">
        Ask field workers to give a written response to a request, question, message, etc.
      </Tab>

      <Tab title="Condition">
        Set what subtask field workers need to perform if a checklist task gets a certain status. For example, if the task's status changes to <span class="ui-element">Not OK</span>, field workers need to explain the reason in free text.
      </Tab>
    </Tabs>
  </Step>

  <Step title="Add more tasks">
    Select <span class="ui-element">+ Add task</span> to add another task.

    <Info>
      One template has a limit of 500 tasks. However, to make it easy for the field worker to navigate them in the field, keep them as short as possible.
    </Info>
  </Step>

  <Step title="Set template to Ready">
    Ready templates can be assigned to disciplines or users and can be [created as checklists manually and automatically](#step-3-create-checklists).

    <Frame>
      <img class="screenshot" src="https://apps-cdn.cogniteapp.com/@cognite/docs-portal-images/1.0.0/images/infield_vnext/draft-ready.png" alt="Set the template to ready" width="100%" />
    </Frame>

    The templates left in <span class="ui-element">Draft</span> will remain templates and won't appear as checklists.
  </Step>
</Steps>

<Info>
  You need **extended access** to plan and schedule tasks, and you need to assign activities using the InField desktop version, not mobile.
</Info>

## Step 2. Manage tasks

To work with several tasks at once, you can:

<Frame>
  <img class="screenshot" src="https://apps-cdn.cogniteapp.com/@cognite/docs-portal-images/1.0.0/images/infield_vnext/task_group_v1.png" alt="Select and manage tasks" width="100%" />
</Frame>

① **Select tasks** — create task groups, schedule several tasks at once, duplicate, and delete tasks.

② **Edit a group** — select <span class="ui-element">More options</span> (…) to ungroup the tasks or rename the group.

## Step 3. Create checklists

A checklist is a task or a list of tasks generated from a template or a work order. On the <span class="ui-element">Templates</span> tab, you can create a checklist from a template or its tasks in two ways:

* **Manually**. Select a template in the <span class="ui-element">Ready</span> status and, on the right, select <span class="ui-element">Create checklist</span>. Suggest a start and end date and confirm the creation. The dates are used for sorting only. You'll create a checklist that's a copy of the template, even if some tasks are scheduled for a different date and time.

```mermaid theme={"languages":{"custom":["/_languages/kuiper.json","../_languages/kuiper.json"]}}
classDiagram
  direction LR
    MyFirstTemplate --|> MyFirstChecklist : Create manually

    class MyFirstTemplate{
      Task 1 - scheduled at 10am
      Task 2 - not scheduled
      Task 3 - not scheduled
      Task 4 - scheduled at 10am
    }
    class MyFirstChecklist{
      Task 1
      Task 2
      Task 3
      Task 4
    }
```

<Tip>
  Field workers can also create checklists on their [mobile devices](/cdf/infield/guides/perform#create-checklists).
</Tip>

* **Automatically**. Once you add a schedule to a task or a group of tasks, the tasks automatically appear as checklists in the <span class="ui-element">[Schedules](/cdf/infield/guides/plan#view-scheduled-work)</span> tab. Remember to move the templates to <span class="ui-element">Ready</span>. The checklist created from the scheduled tasks excludes unscheduled template tasks.

```mermaid theme={"languages":{"custom":["/_languages/kuiper.json","../_languages/kuiper.json"]}}
classDiagram
  direction LR
    MyFirstTemplate --|> MyFirstChecklist2 : Create automatically
    MyFirstTemplate --|> MyFirstChecklist3 : Create automatically
    class MyFirstTemplate{
      Task 1 - scheduled at 10am
      Task 2 - scheduled at 6pm
      Task 3 - not scheduled
      Task 4 - scheduled at 6pm
      Task 5 - scheduled at 6pm
      Task 6 - scheduled at 10am
    }
    class MyFirstChecklist2{
      Task 1
      Task 6
    }
        class MyFirstChecklist3{
      Task 2
      Task 4
      Task 5
    }
```

<Info>
  Automatic scheduling creates checklists with a delay unless you create them before the task start time.
</Info>

## Delete and restore templates and tasks

To delete a template, select <span class="ui-element">More options</span> (…) to the right of <span class="ui-element">+ Add task</span> > <span class="ui-element">Delete template</span>.

To restore a template, select <span class="ui-element">Deleted</span> in the left panel > <span class="ui-element">More options</span> (…) to the right of the template you want to restore > <span class="ui-element">Restore template</span>.

You can't restore a task that has been deleted from a template.
