---
title: Adding an Activate/Deactivate a Content Analysis Task
slug: zen-master/adding-an-activatedeactivate-a-content-analysis-task
docTags: 
createdAt: 2024-12-27T20:06:08.857Z
---

You can add a task to activate or deactivate Content Analysis for one or more Sources.

**To create a new Activate/Deactivae Content Analysis task:**

:::::WorkflowBlock
:::WorkflowBlockItem
In the main navigation, click **Automation**.
The Automation screen opens.
:::

:::WorkflowBlockItem
Select the Task Set for which you would like to add a task.
Details of the selected Task Set are shown at the right side of the screen.
:::

:::WorkflowBlockItem
Click on the **Tasks** tab.
:::

:::WorkflowBlockItem
Click **+ Add Task**.
The **Create New Task** window is displayed.

::Image[]{src="https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/whXmIjX8WmIrB8et7wEbW_image.png" size="80" width="864" height="707" position="center" alt="Create New Task window" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Info** section, in the **Name** field, enter a name for this task.
:::

:::WorkflowBlockItem
In the **Configuration** section, in the **# of Minutes…** field, specify the number of minutes to delay starting this task from the beginning of the execution of the Task Set. The default value is "0" meaning that the task begins immediately when the Task Set is run.
:::

:::WorkflowBlockItem
In the **Task Type** field, select from the dropdown list *Activate/Deactivate Content Analysis*.
:::

:::WorkflowBlockItem
Select the action that you would like to take. Options are: *Activate Content Analysis* or *Deactivate Content Analysis*.
:::

:::WorkflowBlockItem
Under **Activate Content Analysis by (or Deactivate Content Analysis By)**, select the way that you would like to define what objects the task applies to. *One or more objects* enables you to specify the particular object instances to include in the Task. *Objects based on type and tags* enables you to specify the type of objects and associated Tags to include in the task.
:::

::::WorkflowBlockItem
Specify the objects as follows:

- If you selected **One or more objects** –
  1. Click on th&#x65;**&#x20;Sources&#x20;**&#x66;ield.
     A dropdown list of Sources is displayed.
  2. Click on the desired object instance.
  3. If you would like to add additional Source, click on the **Sources&#x20;**&#x66;ield again and select additional Sources.
- If you selected **Objects based on tags** –

  1. In the **Tags** field, select from the dropdown list one or more Tags.

:::hint{type="info"}
* This task is only relevant for Sources.
* At least one Tag must be selected.
* When *Objects based on type and tags&#x20;*&#x69;s selected, the determination of which object instances are included in the task is made at the time of each execution of the task. So, for example, if the specified Tag was assigned to 5 Sources at the time of the initial run and was then assigned to two additional Sources prior to the second run, then the second run of the task will apply to all 7 Sources.
:::
::::

:::WorkflowBlockItem
Click **Save**.
The task is added to the specified Task Set.
:::
:::::

