Workflow Editing
You can edit many features of an existing workflow. You can:
-
Rename a workflow
-
Reorder inputs
-
Delete inputs
-
Rename inputs
-
Change an input from optional to mandatory (but not the reverse)
-
Edit tasks in the workflow
-
Delete tasks from a workflow
You can also:
-
Delete any or all versions of a single workflow
-
Delete the default version or all versions of multiple workflows at one time
The following sections describe these procedures.
Note |
To modify a predefined workflow, we recommend that you create a new version of that workflow before making the changes. If you modify a default predefined workflow, you can affect what happens in Cisco UCS Director when you click an action button. Actions that you take in Cisco UCS Director, such as creating or modifying a VM, use the default predefined workflows. For example, when you click the Create button on the page, Cisco UCS Director runs the default Create HyperFlex Datastore workflow and creates a service request for the action. |
Renaming Workflows
You can rename any workflow in UCS Director. Exception: you cannot rename a compound task.
Note |
All versions of the workflow are renamed. |
Procedure
Step 1 |
Choose Orchestration. |
Step 2 |
On the Orchestration page, click Workflows. |
Step 3 |
Choose the workflow that you want to rename. |
Step 4 |
Click Edit. |
Step 5 |
In Workflow Name on the Edit Workflow screen, enter the new name for the workflow. |
Step 6 |
Click Next. |
Step 7 |
On the Add User Inputs screen, click Next. |
Step 8 |
On the Add User Outputs screen, click Submit. |
Reordering Inputs
Procedure
Step 1 |
Choose Orchestration. |
Step 2 |
On the Orchestration page, click Workflows. |
Step 3 |
Click Edit. |
Step 4 |
On the Edit Workflow Details screen, click Next. |
Step 5 |
On the Edit User Inputs screen, choose an input. |
Step 6 |
Click the Up Arrow icon or Down Arrow icon to move the input up or down in the input order. Alternatively, you can drag and drop an input to a different place in the list. |
Step 7 |
Click Next. |
Step 8 |
On the Edit Workflow Outputs screen, click Submit. |
Deleting Workflow Inputs
You can delete one or more inputs while editing an existing workflow.
Note |
You can also delete inputs in a cloned workflow. Alternatively, while editing a task, you can navigate to the Edit Workflow Inputs screen by clicking Manage Workflow User Inputs on the User Input Mapping page. |
To delete inputs from a workflow, do the following:
Procedure
Step 1 |
Choose Orchestration. |
Step 2 |
On the Orchestration page, click Workflows. |
Step 3 |
Choose the workflow you want to edit. |
Step 4 |
Click Edit. |
Step 5 |
Click Next. |
Step 6 |
In the Workflow User Inputs list on the Edit User Inputs screen, choose the inputs that you want to delete. To select multiple inputs from the list, hold down the <Shift> key (for a range of items) or <Ctrl> key (to select individual items). |
Step 7 |
Click Delete (X). |
Step 8 |
On the Delete Entry screen, click Submit. |
What to do next
Click Next to move to the Edit User Outputs screen, then click Submit.
Renaming Workflow Inputs
You can rename inputs while editing an existing workflow.
Alternatively, while editing a task, you can navigate to the Edit Workflow Inputs screen by clicking Manage Workflow User Inputs on the User Input Mapping page.
To rename inputs from an opened workflow, do the following:
Procedure
Step 1 |
Choose Orchestration. |
Step 2 |
On the Orchestration page, click Workflows. |
Step 3 |
Choose the workflow you want to edit. |
Step 4 |
Click Edit. |
Step 5 |
Click Next. |
Step 6 |
In the Workflow User Inputs list on the Edit User Inputs screen, choose the input that you want to edit. |
Step 7 |
Click Edit. |
Step 8 |
On the Edit Entry screen, replace the Input Label. |
Step 9 |
Click Submit. |
Step 10 |
To edit another input, repeat the previous four steps. |
What to do next
Click Next to move to the Edit User Outputs page, then click Submit.
Changing Input Optional or Required Status
You can change the optionality (optional or required status) of workflow inputs.
Note |
You cannot map an optional workflow input to a mandatory task input. Similarly, you cannot change an input from mandatory to optional if it is mapped to a mandatory task input. |
Before you begin
Select the workflow you want to edit and choose the Edit action.
Procedure
Step 1 |
Choose Orchestration. |
||
Step 2 |
On the Orchestration page, click Workflows. |
||
Step 3 |
Choose the workflow you want to edit. |
||
Step 4 |
Click Edit. |
||
Step 5 |
Click Next. |
||
Step 6 |
In the Workflow User Inputs list on the Edit User Inputs screen, choose the input that you want to edit. |
||
Step 7 |
Click Edit. |
||
Step 8 |
On the Edit Entry screen, check or uncheck Optional to make the input optional or required, respectively, at the time of execution.
|
||
Step 9 |
Click Submit. |
What to do next
Click Next to move to the Edit User Outputs screen, then click Submit.
Editing a Task in an Existing Workflow
You can edit a task in an existing workflow. The change is local to the workflow and version containing the edited task. For example, if you edit task A in version 0 of workflow X, the task remains unchanged in workflow Y and in version 1 of workflow X.
Procedure
Step 1 |
Choose Orchestration. |
||||||||||||||||||
Step 2 |
On the Orchestration page, click Workflows. |
||||||||||||||||||
Step 3 |
In the Workflow report, click the workflow you want to edit. |
||||||||||||||||||
Step 4 |
Click Workflow Designer. |
||||||||||||||||||
Step 5 |
In the workflow display, double-click the task that you want to edit. |
||||||||||||||||||
Step 6 |
On the Task Information screen, the following fields are available:
|
||||||||||||||||||
Step 7 |
Click Next. |
||||||||||||||||||
Step 8 |
On the User Input Mappings screen, you can edit the following fields:
|
||||||||||||||||||
Step 9 |
Click Next. |
||||||||||||||||||
Step 10 |
On the Task Input screen, you can edit the following fields:
|
||||||||||||||||||
Step 11 |
On the User Output Mapping screen, you can edit the following fields:
|
||||||||||||||||||
Step 12 |
Click Submit. |
Opening Workflow Designer from a Header Search
You can use the search field in the Cisco UCS Director header to find and select a workflow from anywhere in Cisco UCS Director. You can then open the workflow in the Workflow Designer.
To find and edit a workflow from the Cisco UCS Director header:
Before you begin
You have previously created a workflow that you want to edit immediately from any page in Cisco UCS Director.
Procedure
Step 1 |
In the header bar of Cisco UCS Director, click the Search icon. |
Step 2 |
Select Workflow from the Search Category drop-down list. |
Step 3 |
Begin entering the name of the workflow you want to open. |
Step 4 |
Finish entering the workflow name or select the workflow name from the drop-down list. |
What to do next
Modify the workflow just as you would if you had selected the workflow from the Cisco UCS Director returns to the page you were on when you opened the Workflow Designer.
page. When you are done,Deleting a Workflow
You can delete any or all versions of a workflow.
Procedure
Step 1 |
Choose Orchestration. |
Step 2 |
On the Orchestration page, click Workflows. |
Step 3 |
Choose the workflow you want to delete. |
Step 4 |
Click Delete. |
Step 5 |
On the Delete Workflow(s) screen, choose the versions that you want to delete. To choose all versions for deletion, check the box at the top of the list. |
Step 6 |
Click the Delete button. |
Deleting Multiple Workflows
You can delete more than one workflow at a time.
Procedure
Step 1 |
Choose Orchestration. |
||
Step 2 |
On the Orchestration page, click Workflows. |
||
Step 3 |
Choose all the workflow you want to delete.
|
||
Step 4 |
Click Delete All. |
||
Step 5 |
On the Delete Workflow screen, check Delete All Versions if you want to delete all versions of the selected workflows. Otherwise only the default version is deleted. |
||
Step 6 |
Click Delete. |
Running a Quick Export on Workflows
Use the Quick Export option to select multiple workflows and export them to your machine.
Procedure
Step 1 |
Choose Orchestration. |
||||||||
Step 2 |
On the Orchestration page, click Workflows. |
||||||||
Step 3 |
Choose the workflows that you want to export. |
||||||||
Step 4 |
Click Quick Export. The subsequent screen lists the following information for the selected workflows:
|
||||||||
Step 5 |
In the Export Workflow screen, complete the following information:
|
||||||||
Step 6 |
Click Export Workflow. |