External Tasks & Sub-Tasks

An external task is a task created through the Task Builder without using the Task Administrator. Unlike a managed task, it has no task properties other than steps. It is saved in its own location and does not appear in the Task Administrator window.

A sub-task is a task that is started by a Start Task step of another task; a parent task. Ordinarily the parent task is a managed task and the sub-task is an external task.  

External tasks are created or opened directly in Task Builder. You can use Task Builder to build a sub-task at the same time you are creating the steps of the parent task. You can also use an existing task as a sub-task, and you can use the same task as a sub-task in multiple parent tasks.

When you test a task by clicking Run in the Task Builder window, any sub-tasks that are not already open will be opened in Task Builder. Clicking the tab for the sub-task allows you to view its steps and its debug information.

To create an external task:

  1. Open Task Builder using one of the following methods:

OR

"C:\Program Files\AutoMate 8\AMTask.exe" (on Windows XP or Windows Server 2003 operating systems)

OR

"C:\Program Files (x86)\AutoMate 8\AMTask.exe" (on Windows Vista or Windows 7 operating systems)

  1. Create the steps of the task. (For more information, see About Actions and Adding Task Steps).

  2. On the Task Builder Ribbon, click the Save button located on the Quick Access Toolbar or click the Save or Save As menu item located in the Ribbon's Application Button.

  3. A standard Windows Explorer window appears allowing you to navigate to the location in which to save the newly created external task.

  4. Select the location and file name then click the Save button to save changes.

To open an existing external task:

  1. On the Task Builder Ribbon, click the Open button located on the Quick Access Toolbar or click the Open menu item located in the Ribbon's Application Button.

  2. A standard Windows Explorer window appears allowing you to navigate to the AutoMate external task (.AML extension) you wish to open.

  3. Navigate to the desired task and click Open.

To create a sub-task:

  1. With the parent task open in the Task Builder window, click the New Task button  or click New on the File menu.

  2. Create the subtask steps as covered in Adding Task Steps.

  3. Click the Save button  and enter the desired name and location for the subtask.

  4. In the Task Builder Steps pane, click the tab for the parent task.

  5. In the parent task, create a Start Task step that starts the subtask you just created.

See Also

Managed and Unmanaged Tasks

Adding Task Steps