UCSD - Convert workflow name to ID and convert workflow schedule name to ID

Version 1
    Task NameConvert a workflow name to an ID (number) and convert a workflow schedule to an ID (number)
    Description
    1. Change the user of a running workflow
    Prerequisites
    1. Tested on 6.0
    CategoryWorkflow
    ComponentsvSphere 5.x
    User Inputs
    1. Workflow name / workflow schedule name
    OutputID

    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 .WFD file resides. Choose the .WFD 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.

     

     

     

    This is an example of how to take a UCSD screen (workflows and workflow schedules) and create a custom task(s) that will return the ID of a workflow or the ID of a scheduled workflow for given workflow/workflow schedule name.

     

    Workflow Schedule Name to ID workflow:

     

     

    Screen Shot 2016-10-28 at 1.56.45 PM.png

     

    Workflow Schedule Name to ID workflow run:


    Screen Shot 2016-10-28 at 1.56.37 PM.png

    Workflow Schedule Name to ID workflow output:



    Screen Shot 2016-10-28 at 2.03.03 PM.png

    Workflow Name to ID workflow:


    Screen Shot 2016-10-28 at 1.57.02 PM.png


    Workflow Name to ID workflow run:


    Screen Shot 2016-10-28 at 1.57.53 PM.png


    Workflow Name to ID workflow output:


    Screen Shot 2016-10-28 at 1.57.43 PM.png