Editing Task Steps

Along with the ability to edit the Properties of individual task steps, many adjustments can be performed on any step once they are added to the Task Builder's Steps panel. You can move, indent, disable or delete one or more existing steps. You can perform cut/copy/paste commands as well. Commands are conveniently located on the Ribbon or via a context menu that appears when right-clicking a specific element. Certain commands become active on the Ribbon only for the items that they apply to, making it easier for you to discover/detect relevant commands. The Quick Access Toolbar contains Undo and Redo commands that apply to the various edit operations allowing you to undo an operation in case you make a mistake or redo an operation in case you change your mind.

The properties of any task step can be easily viewed or modified once it is added to the Steps panel of the Task Builder.

To view or modify the properties of a step:

  1. In the Steps panel of the Task Builder, select the step that contains the properties you wish to view or modify and click the Edit command on the Ribbon (shown below).

OR

Double-click the step

OR

Right-click the step and select Edit Step from the context menu that appears.

  1. The properties dialog of that step opens. Make appropriate changes to any parameters.

  1. Click OK to save changes and close the properties dialog box. If you decide not to save changes, simply click Cancel.

A developer may want to indent or move task steps up or down, or to some other position. Task Builder allows you to increase/decrease indentation of one or more steps or you can use an auto-format command to format the indentation of a block of steps automatically. In addition, Task Builder supports various methods of moving steps up/down a specific number of lines.  

To increase or decrease indentation:

  1. In the Steps panel of the Task Builder, select the step(s) you want to indent. To select a block of steps, hold down CTRL during selection.

  2. Do one of the following:

NOTE: The indentation value can be modified via Task Builder Options - Formatting.

To move steps up/down using Move Command:

  1. In the Steps panel of the Task Builder, select the step(s) you want to move up/down the step sequence. To select a block of steps, hold down CTRL during selection.

  2. Do one of the following:

To move steps up/down using Cut & Paste:

  1. In the Steps panel of the Task Builder, select the step(s) you want to move up/down the step sequence. To select a block of steps, hold down CTRL during selection.

  2. Click the Cut command from the Ribbon (shown below), enter CTRL + X or right-click the step(s) and select Cut from the context menu.

  3. Select the step you wish to paste the previously cut step(s) and click the Paste command from the Ribbon (shown below), enter CTRL + V or right-click the step(s) and select Paste from the context menu. The step(s) are pasted directly above the selected step.

NOTE: Indentation or movement of multiple sequenced steps (e.g.,steps 3, 4 and 5) or non-sequenced steps (e.g.,steps 3,6 and 8) are supported.

To enable/disable auto-formatting of steps:

Steps of a task can be disabled or re-enabled so that you can use or test different versions of the same task. The Disable button on the ribbon or context menu acts as a toggle to disable an enabled step or re-enable a disabled step. When a step is disabled, it is greyed out by default in the Steps panel and it is treated as a comment and ignored when the task runs.

To disable or enable a task step:

  1. In the Steps panel of the Task Builder, select the step(s) you want to disable. To select more than one step, hold down CTRL during selection.

  2. Do one of the following:

NOTE: To re-enable, follow the same instructions.

To delete a step:

  1. In the Steps panel, select the step or steps you wish to delete. To select more than one step, hold down CTRL during selection.

  2. Do one of the following:

By default, the Steps panel displays numbers to represent each step in the task are displayed for each step in the Task Builder's Steps panel along with an icon designating the type of action used. Also the text (or AML code) that appears in this panel is word wrapped by default allowing all text to be visible in the window regardless of its size. Nonetheless, these options can be customized according to each user's preference. For instance, one may d 

To turn Word Wrap off /on:

  1. From the Ribbon, select the Home tab.

  2. From the Layout command group, click the Word Wrap button to toggle Word Wrap on/off (shown below).

To disable/enable step numbers :

  1. From the Ribbon, select the Home tab.

  2. From the Layout command group, click the Step Numbers On/Off button to toggle step numbers on/off (also shown below).

Switching from Visual to AML View

The Task Builder offers two ways in which to view the steps of a task. The default appearance displays a plain-English, easy to comprehend text description of each step. They can also be displayed in AML (Markup Language) format. When set to this view, those who understand AML can edit their code directly from the Task Builder's Steps panel or copy the code onto an external text editor such as Notepad.

To switch from plain text to AML or AML to plain text:

  1. From the Ribbon, select the Home tab.

  2. In the View command group, select AML to switch to AML code view or Visual to switch to plain text view (shown below).

To edit code in AML view:

  1. From the Steps panel, select the step to edit.

  2. Click the step again to make the code editable.

  3. Make the appropriate changes.

Undoing / Redoing Changes

To allow easy creation and editing of tasks, an Undo and Redo option is included on the Quick Access Toolbar (shown below).

To undo Changes:

To redo a change after an undo: