Starting with Gen 1 Automation Studio
  • Dark
    Light
  • PDF

Starting with Gen 1 Automation Studio

  • Dark
    Light
  • PDF

Automation Studio

This segment of the tour introduces you to the core functionality of Itential Automation Platform (IAP), and since the word "automation" is built right into the product name, it only makes sense sense to jump in and create an automation using Automation Studio.

Automation Studio is where most of the magic happens in IAP. It's an all-in-one application suite where your automations are created and edited. Without Automation Studio, there's not much point to having IAP in your environment.

More information on Automation Studio can be found in the application user guide on the Itential docs site. Also be sure to check out the Automation Builder guides to learn more about arranging and connecting the tasks that go into building your automation.

Note: This section of the tour guide uses the Gen1 Automation Builder canvas.

Create an Automation

Creating an automation using the Itential platform is simple:

  1. From the IAP home screen, click the Automation Studio menu option from the left navigation menu. The main page displays.

  2. In the Quick Start card, click + Create An Automation. A dialog box opens.

  3. The Create Dialog has multiple options. For this task, select Automation from the dropdown to create a new automation. The canvas selector displays.

  4. Gen 1 is the default selection and should have a blue circle around it with a check mark. If not, click within the Gen 1 circle.

    Figure 1. Gen 1 Automation Canvas

10_canvasGen1

  1. For this tour, let's give your automation the unique name "EnlightenMe". Of note, the Name is a required field.
  2. Next, click the CREATE button. A relatively blank canvas will then display that contains a "START" and "END" task.

Figure 2. EnlightenMe Automation Canvas

01-EnlightenMe-Start

Add a Task to the Canvas

On the right side of the screen, there's a list of tools that can be used in your automation. This area is called the Task Menu Sidebar. Itential refers to the items listed in the sidebar as tasks (or steps) that must be completed within your automation.

The docs.itential.com site contains a collection of Task Reference guides for the various tasks listed in the Task Menu Sidebar.

Now that you've created the "EnlightenMe" automation, let's explore how you can add a task to the canvas:

  1. In the Search box at the top of the Task Menu Sidebar, type "restCall" and press Enter on your keyboard.
  2. The search results should include a task named "restCall".
  3. Hover over the restCall task and observe that a "+" (plus sign) will appear.
  4. Click the "+" to the left of the "restCall" task. This steps will add a new task labeled REST Call to your canvas.

Figure 3. Add REST Call
02-EnlightenMe-Rest (1)

The REST Call task is a flexible method by which information can be obtained or published across available APIs in a network, including the Web.

Connect Tasks Using Transitions

At this point of the tour, you've created a new automation and then added the restCall task to your canvas. The automation canvas now has three different tasks on it; however, the automation doesn't know what order the tasks should be executed. To do this, you must draw transitions between the tasks in the order they should occur.

  1. Click the START (pink) task on your canvas. Notice the text becomes bold after clicking the task.
  2. On your keyboard, press the letter "t" (the keyboard shortcut for transition).
  3. Next, click-drag your mouse pointer from the START task to the REST Call task and then let go. A green transition line will appear between the two tasks. This indicates a success transition state, which is the most commonly used transition in automations.
  4. Perform the same transition connection step between the REST Call task and the END task.

You should now have three tasks on your canvas (Start → REST Call → End), with green transition lines connecting them in a linear sequence.

Figure 4. Set Transitions Between Tasks

03-EnlightenMe-Connected

Configure Reference Tasks and Reference Variables

Next, let's configure the variable information for your task. In our example, we'll leverage a simple, yet fun, "Chuck Norris" API.

If you already have experience using REST Calls in other systems or scripts, the variables available for the REST Call task will look familiar to you.

  1. Double-click the REST Call task on the canvas. This will open the task dialog for configuration. Tasks typically have Incoming and Outgoing variables. Depending on the tasks available in your Task Menu Sidebar, the number of configuration variables in a task will vary.
  2. For the Summary field at the top, add "FetchFact" as the value. This will help us distinquish this restCall task from others later on.
  3. For the Description field, add "Obtain A Chuck Norris Fact".
  4. For the uri variable, leave the Reference task as "static". For the Reference variable, add this string (without quotes): http://api.icndb.com/jokes/random.
  5. For the verb variable, leave the Reference task as "static". Choose the GET option from the Reference variable dropdown.
  6. For the responseHeaders variable, leave the Reference task as "static". For this example, select False for the Reference variable.
  7. Click Save.

Figure 5. Configure Variables

04-EnlightenMe-RestCallVariables

Notice that the REST Call task on the canvas now reads FetchFact, and if you hover over it with your mouse the tooltip will read "Obtain A Chuck Norris Fact".

Figure 6. Display Tool Tip

05-EnlightenMe-ToolTip

Saving Automations

Now that you've set the variables for your automation, let's save it and get it ready to test run:

  1. Go to the lower left corner of the canvas.
  2. Click the SAVE button. The automation is now ready to test run.

Test Run Automations

To test the automation and see if it works:

  1. Go to the upper-right corner of the canvas, click the blue play arrow (►) to the right of the Automation Name. A modal window will open.
  2. Click the START button in the left corner of the modal. A new Run Automation window will appear in the center of the screen indicating that the job has run.
  3. Within the Run Automation modal window, there's a link that reads VIEW JOB. Once you click the link, a new tab opens in your browser. This new tab displays the Jobs (Operations Manager) view of the running job you just started.
  4. Find the name of the job you initiated in the list and click on it. The job view will open.

Viewing the Job

In the newly opened Jobs (Operations Manager) tab, take a moment to study the page to see the different types of information that's available in this view. One item you should notice is the restCall task named FetchFact.

Figure 7. Job Details

06-EnlightenMe-JobManager

Click the book icon that's located at the end (far-right) of the task. This will open the Task History for "FetchFact" and you will see tabs for Metrics, Incoming, and Outgoing.

METRICS

The Metrics tab shows basic information about the task such as Start Time, End Time, Finish State, etc.

Figure 8. Metrics Tab

07-EnlightenMe-TaskHistoryMetrics

INCOMING Tab

The Incoming tab shows information that was provided to the Task. In this example, you'll observe the variables (uri, verb, etc.) that were specified when you initially created the task. The Incoming tab is the ideal tab to reference when you're troubleshooting a task and need to verify if the task received the information you believe it should have. Essentially you can use this tab to check for incorrect input/faulty output (i.e., garbage in/garbage out).

Figure 9. Incoming Tab

08-EnlightenMe-TaskHistoryIncoming

OUTGOING Tab

The Outgoing tab shows the output that's produced by the task. In this example, the restCall task produces a response variable that contains the API's response value, which is in the form of a JSON object. It's important to know that depending on the task's function, the output information will vary from task to task.

Figure 10. Outgoing Tab

09-EnlightenMe-TaskHistoryOutgoing

Summary Wrap-Up

Congratulations! In this section of the tour, you did the following:

  • Created a Gen 1 automation that utilizes Tasks to obtain data from a remote system.
  • Viewed the Jobs (Operations Manager) page and the task results that were presented in the Outgoing tab of the Task History.

Next, we're going to explore how to pass data between tasks. Keep the Jobs (Operations Manager) view open for now and continue reading.


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.