---
keyword: [Extend, App Builder, Model Components, Tasks, Model Tasks, Context Free Tasks]
nav: wcp_docs
parent_url: /wcp_docs/
title: Add Tasks in Visual Mode
layout: subsection
---

### Prerequisites

<a id="prereq_N10022_N1001F_N10001"></a>
Create or open a Workday Extend app in App Builder.

### Context

<a id="context_N1002B_N1001F_N10001"></a>
You can use App Builder to author context-free tasks and tasks in the context of:

-   Workday Extend business objects of your app.
-   Workday-delivered business objects that supports the `target` attribute.


<b>Note:</b> You can't use an attachment as the target business object of a task.

Secured users can use a context-free task to access your Extend app in Workday. Users can also find context-free tasks in global search.

Adding context to your task enables users to access the task as a related action from the business object.

You can apply contextual security to a task if:

-   A Workday-delivered business object provides context for the task.
-   A Workday-delivered target business object contextually secures the Workday Extend business object.


In this case, Workday also evaluates the processing user against each instance of the Workday-delivered business object.

<b>Note:</b> When you apply contextual security to a task, the domain security policy for the task shouldn't contain any unconstrained security groups.

### Steps

1.  <a id="step_N10041_N1003E_N1001F_N10001"></a>In App Builder, click the <b>Add</b> button next to <b>Tasks</b> in the components panel.
2.  <a id="step_N10052_N1003E_N1001F_N10001"></a>Provide a <b>Name</b> for the task. The name must begin with an uppercase alphabetic character (A–Z) and contain only alphanumeric characters (A–Z, a – z, 0–9). The maximum length allowed is 100 characters.
3.  <a id="step_N10062_N1003E_N1001F_N10001"></a>Use the toggle switch in the upper right of the interface to ensure that App Builder is in Visual mode.
4.  <a id="step_N10076_N1004C_N10023_N10001"></a>Provide fundamental information about your component. As you complete this task, consider:

<table><thead><tr><th>    Option</th><th>    Description</th></tr></thead><tbody><tr><td><b>Name</b></td><td>You can edit the name you provided earlier.</td></tr><tr><td><b>Label</b></td><td>(Optional) Provide a label that succinctly indicates the purpose of the task. If you specify a label, it must be unique for each model component type within an app. <p>If you don't specify a label, Workday displays the name in the tenant.</p></td></tr><tr><td><b>Security Domains</b></td><td>Specify security domains to override the default security domains defined at the business object level. You can only use the names of security domains defined in the same app.</td></tr><tr><td><b>Page Route</b></td><td>Provide a page route, as defined in the AMD, for your task. <p>If you specify a business object, you can access its Workday ID in the page route using the special parameter {taskObjectId}. The corresponding page will be able to access the Workday ID of the business object in the URL.</p></td></tr><tr><td><b>Business Object</b></td><td>Specify the business object in whose context this task appears as a related actions menu item. To make your context-free, don't specify a business object.</td></tr><tr><td><b>Enable Security by Business Object</b></td><td>Enable this toggle to secure provide contextual security on the task in addition to the domain security policy set on the task. You'll only be able to view or run the task as a related action from the instances that you're contextually secured to access. To use this feature, you must specify a business object for the task.</td></tr></tbody></table><br/>



