cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

UCSD - Dynamic Workflow User Input Variables

1595
Views
3
Helpful
12
Comments
Task Name
Dynamic Workflow User Input Variables
Description

Prerequisites
  1. Tested on 6.6 Beta
CategoryWorkflow
Components
User Inputs

Dynamic LOV selector

A

B

C

Output

Instructions for Regular Workflow Use:

  1. Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
  2. Unzip the file on your computer. Should end up with a .WFD file.
  3. Log in to UCS Director as a user that has "system-admin" privileges.
  4. Navigate to "Policies-->Orchestration" and click on "Import".
  5. Click "Browse" and navigate to the location on your computer where the .WFDX file resides. Choose the .WFDX file and click "Open".
  6. Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
  7. Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
  8. Click "Submit".
  9. A new folder should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information about the specific environment.

The workflow input options can change now in UCSD 6.6:

Screen Shot 2018-01-23 at 9.22.36 AM.png

Selecting green and getting Variable A:

Screen Shot 2018-01-23 at 9.22.44 AM.png

Selecting yellow and getting variable B:

Screen Shot 2018-01-23 at 9.22.51 AM.png

Selecting red and getting variable C:

Screen Shot 2018-01-23 at 9.23.02 AM.png

The workflow options/variables/rules for the presentation (New in UCSD 6.6):

Screen Shot 2018-01-23 at 9.23.22 AM.png

Screen Shot 2018-01-23 at 9.23.30 AM.png

The List of Values (LOV) driving the selection process:

Screen Shot 2018-01-19 at 10.11.41 AM.png

Video Link : 16864

Comments
Beginner

Is there a way to achieve the same in pre-6.6 versions?

Cisco Employee

No – that is a new feature in UCSD 6.6 which is in Beta right now.

Community Member

Can't wait to have this feature!

Cisco Employee

And there are more cool features coming. Pre workflow run time external checking via bash or java script and using previous Sr number workflow input to run new workflow

Community Member

Any estimated release date yet ?

Cisco Employee

No later then March 31

Community Member

Any update on the release date?  Some of the capabilities I've been wanting to use appear to only available in 6.6

Cisco Employee

April 23rd

Beginner

Hi Orf,

This page might not be the correct place to ask this, but

I am looking for a solution to pre-populate the switch port information from the APIC into the LOV  so the user can select from the list during the workflow execution.

Cisco Employee

On the community site if have various examples on creating a LOV from a CSV file. Did you see those.

https://communities.cisco.com/docs/DOC-56419

Where is the switch port information coming from

From a file

Or from a screen with in UCSD?

Beginner

Hi Orf,

We are able to read the data from the CSV file into the LOV.

But what we are expecting is - to fetch the data dynamically from the Cisco APIC to the Workflow input parameters where user can select from the list.

Thanks,

Sandeep.

Cisco Employee

Put your workflow on a schedule.

Right click on workflow and select schedule and run it every 5 min

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here