Port/VLAN Configuration (EOS) - Workflow
  • 18 Oct 2024
  • Dark
    Light
  • PDF

Port/VLAN Configuration (EOS) - Workflow

  • Dark
    Light
  • PDF

Article summary

create_workflow_title

Now that you have created a JSON Form and a Transformation (JST), you are ready to put things together in your workflow.

Workflow Video

Step 1

From the IAP Home page, click Automation Studio

Step 2

First, you will need to create a Workflow. Click the + at the top to open the Create window.

Step 3

Select Workflow in the What would you like to create dropdown. Name the workflow Lab - Port Turn Up - EOS - XX and select Gen 1 for your workflow.

Next, click CREATE. (XX represents your initials)

Step 4

A fresh workflow canvas opens. The default view for the canvas is vertical. It can be changed to horizontal by dragging the Start and End tasks. Click and drag the Start task to reorient the workflow. 

Step 5

Add a Transformation task by entering Transformation into the Filter Tasks box at the top right. The JSON Transformation task appears. Hover the mouse over the task. 

Drag the Transformation task to the canvas.

Step 6

You will also need to add a child job task to the canvas. In the Filter Tasks box, enter childjob. This is used to add the Pre-Built to your automation. The list of available tasks will begin filtering down as you type the name. Using your cursor, drag the Child Job task on to the canvas to the right of the Transformation task. 

Step 7

Now that you have all of the tasks on the canvas, the next step is to add transitions, which will connect the tasks together to form the workflow. This is done by first clicking the task you want to transition from, which will highlight the task with a dashed border.  Click the START task.

Step 8

Click within the dashed border, and begin dragging the transition towards the destination task. When the transition snaps to the destination task, release the mouse button. 

Step 9

Repeat to add the remaining transitions. 

Note:  The default transition is a Success transition.  If you would like to add an Error or a Failure transition,  press and hold the E or the F key on your keyboard as you are adding the transition.  

Workflow Video - Part 2

Step 10

Once all the transitions are added, we need to configure the Transformation task and the Child Job task.  Double-click the Transformation task.

Step 11

The purpose of the Transformation task is to extract the individual values submitted in the form. Click the Transformation drop down and select the Transformation you created earlier Lab - Port TurnUp - EOS JST - XX.

Step 12

Next, change the Variable Source for formData from Static to Job.

By changing the Variable Source for formData  from Static to Job, we are configuring the Transformation task to source the data from the form inputs submitted to the workflow, rather than static inputs. 

Click the Save button and close the Configuration window.

Step 12

The Itential Port Turn Up Pre-Built is an excellent example of a modular automation. It can be incorporated as a step in a larger automation very easily. We can incorporate modular automations through the use of child jobs. To configure the child job, double-click the Child Job task. 

To associate this Child Job task with the Port Turn Up - EOS workflow, click the dropdown for Workflow and select Port Turn Up - EOS.

Step 13

The default variables appear below in the Workflow Input Job Variables section. Each task will need the Variable Source changed from Job to Task and the Previous Task needs to be changed to Lab - Port Turnup - EOS JST - XX. This tells the task to pull the variables from the Transformation task output. Click the dropdown for each one and make the change. 

Step 14

While we make this change, notice the value for each Task Variable changes to autoApprove. Go through and change each Task Value to match the name of the input. 

Step 15

Click the Task Variable dropdown and select the name of the input.

Step 16

Repeat these steps for each of the inputs. 

Step 17

Click the SAVE icon followed by the icon. 

Step 18

The Set Variables window opens, showing the variables the workflow requires to run. This workflow expects to receive one variable, formData, which will be passed in from Operations Manager, which will be covered in the next module.

The START button will run the workflow, but we are only testing it to confirm the inputs. Your view should match the image below.

Click the CANCEL button.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.