---
title: Adding an Assign Targets to Channel Task
slug: zen-master/adding-an-assign-targets-to-channel-task
docTags: 
createdAt: 2024-12-27T20:06:07.968Z
---

You can add a task to assign one or more Targets to a Channel. You can select one or more specific Targets or all Targets of a particular type that are associated with the specified Tags.

**To create an Assign Targets to Channel 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/-HxHR0sRCF9LNpfsjq7XW_image.png" size="80" width="870" height="810" 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 *Assign Targets to Channel*.
:::

:::WorkflowBlockItem
Under **Channel Type**, select the type of Channel to which you would like to add Targets. Options are: *Adaptive Channel*, *Pass-Through Channel&#x20;*&#x6F;r *MediaConnect Flow*.
:::

:::WorkflowBlockItem
Click on the **Channel** selection field and select the desired Channel from the dropdown list.
:::

:::WorkflowBlockItem
Under **Assign Targets to Channel 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 the **Select Targets&#x20;**&#x66;ield.
     A dropdown list of Targets is displayed.
  2. Click on the desired Target.
  3. If you would like to add additional Targets, click on the Targets field again and select additional Targets.
- If you selected **Objects based on type and tags** –
  1. Select the checkbox next to the desired type of Targets. For a *MediaConnect Flow* options are: *UDP/RTP*, *Pull Targets,* *Push Targets&#x20;*&#x6F;&#x72;*&#x20;RIST.* For a Pass-Through Channel options are: *RTMP Targets*, *UDP/RTP Targets*, *SRT,* *Pull Targets* or *Push Targets*. For an Adaptive Channel, *HTTP Targets* is the only possible selection.
  2. In the **Tags** field, select from the dropdown list one or more Tags.

:::hint{type="info"}
* When *Objects based on type and tags* is selected, only objects instances which are of the specified type **and** are associated with the specified Tag are included in the task. **Therefore, at least one object type and 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.
:::
:::::

