# Activity

<p class="doc-lead">An Activity is a standard set of task definitions that can be applied to a project in one step using <b>Assign Activity</b> on the project view.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Getting started</span>
<div class="doc-toc-links">
<a href="#/project/project-template?id=overview">Overview &amp; List View</a>
<a href="#/project/project-template?id=quick-start">Quick Start</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">Form reference</span>
<div class="doc-toc-links">
<a href="#/project/project-template?id=header-fields">Header Fields</a>
<a href="#/project/project-template?id=task-lines">Tasks Line Table</a>
<a href="#/project/project-template?id=assign-template">Assign Activity</a>
</div>
</div>
<div class="doc-toc-section">
<span class="doc-toc-group-title">More</span>
<div class="doc-toc-links">
<a href="#/project/project-template?id=example">Example</a>
<a href="#/project/project-template?id=faq">FAQ</a>
<a href="#/project/project-template?id=related">Related</a>
</div>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview &amp; List View</h2>

Go to <b>Project → Activity</b>.

<b>List columns</b>

| **Column** | **Shows** |
|------------|-----------|
| Id | Activity reference number. |
| Name | Activity name. |
| Status | Active or Inactive. |

<b>Quick filter tabs</b>

Active, Inactive.

<b>Advanced Filters</b>

Id, Name, Status, Created date.

<b>List row actions</b>

Edit, Delete, View.

<hr class="doc-section-divider">

<h2 id="quick-start">Quick Start</h2>

1. Go to <b>Project → Activity</b> and click <b>New</b>.
2. Enter <b>Activity Name</b> and <b>Description</b>.
3. Add rows to the <b>Tasks</b> table — pick a <b>Task Definition</b> and an optional description for each.
4. Click <b>Save</b>.
5. On a project (Not Started or On Going), open the more menu and choose <b>Assign Activity</b>.

<hr class="doc-section-divider">

<h2 id="header-fields">Header Fields</h2>

| **Field** | **Required** | **Description** |
|-----------|--------------|-----------------|
| Activity Name | Yes | Name of this activity. |
| Description | No | When to use this activity. |

<hr class="doc-section-divider">

<h2 id="task-lines">Tasks Line Table</h2>

| **Column** | **Description** |
|------------|-----------------|
| Sl No | Line number. |
| Task Definition | <a href="#/project/project-task-definition">Task Definition</a> for this row. The definition's project category is used when the activity is assigned. |
| Description | Notes for this activity line. |

<hr class="doc-section-divider">

<h2 id="assign-template">Assign Activity</h2>

From a <a href="#/project/projects">Project</a> view (status Not Started or On Going), or from the project's <b>Project Tasks</b> tab:

1. Open the more menu (⋮) and choose <b>Assign Activity</b>.
2. Select <b>Activity</b> and click <b>Assign</b>. Project custom fields are not shown on this form.
3. The system creates <a href="#/project/project-category-mapping">category mappings</a> from each definition's project category, and <a href="#/project/project-task">project tasks</a> from the activity lines. Each new task keeps the activity and takes its category from the task definition.

<hr class="doc-section-divider">

<h2 id="example">Example</h2>

A site team keeps an activity <b>CCTV Camera Activities</b> with task definitions such as camera install and cable laying. Each definition already belongs to the SEC category. For a new site, the project manager creates the project, clicks <b>Assign Activity</b>, and gets those tasks with the category filled in.

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<b>Can I assign an activity twice to the same project?</b><br>
Assign Activity adds tasks and mappings from the activity. Running it again may duplicate tasks — use it once per project setup, then edit individual tasks as needed.

<b>Do activity lines copy material lines?</b><br>
An activity line is a task definition and a description. Add materials on each <a href="#/project/project-task">Project Task</a> after assignment.

<b>Does Assign Activity create category mappings?</b><br>
Yes. The project category on each task definition is mapped to the project automatically via <a href="#/project/project-category-mapping">Project Category Mapping</a>.

<b>Can I edit an activity after projects use it?</b><br>
Yes. Changes affect future Assign Activity runs only — tasks already created on projects are not updated.

<b>Which project statuses allow Assign Activity?</b><br>
Not Started and On Going only. See <a href="#/project/projects">Projects</a> more menu — the action is hidden on Completed, Cancelled, Paused, and Stopped projects.

<b>Can I use inactive task definitions on an activity?</b><br>
Inactive definitions may still appear on existing lines but should not be selected for new lines — activate the definition first.

<hr class="doc-section-divider">

<h2 id="related">Related</h2>

<ul>
<li><a href="#/project/projects">Projects</a></li>
<li><a href="#/project/project-task-definition">Project Task Definition</a></li>
<li><a href="#/project/project-category">Project Category</a></li>
</ul>
