Skip to main content

 

Cisco Meraki Documentation

Activities

Adding Activities

Automation includes a variety of built-in activities that serve as building blocks and individual functions you can add to a workflow. These activities handle operations such as date and time manipulation, JSON and XML parsing, and HTTP requests, for example.

Procedure 

  1. Choose Automation > Workspace in the navigation menu.
  2. On the Workflows tab, click Create Workflow.

new_workspace_page_nov19.png

3. Choose a type according to the intent of this workflow, and click Continue. For more information, see the Workflow Intent Help topic.

create_2.jpg

4. In the Properties panel of the Workflow Editor, define the workflow properties. For more information, see the Workflow Editor Help topic.

5. From the Activities panel, search for activity you want to add to your workflow. The following example shows Ansible Tower activities:

ansible_tower_activities.png

6. Drag and drop the activities onto the canvas. The table below contains helpful hints and best practices for using these activities. It is not an exhaustive list, since more activities are being developed and added. If you're looking for something that's not listed here, please enter it in the Search activities field in the Workflow Editor. The left panel in the Workflow Editor displays the list of activities currently supported by workflows.

Activity Category Description
Ansible Tower Activities related to Ansible Tower automation
Database Activities for performing JDBC database functions
Email Allows you to send an email as part of a workflow
File Operations Activities related to file upload and download
Meraki Activities for configuring networks and devices in Cisco Meraki
Microsoft Windows Activities for interacting with Microsoft Windows services and functions
Python Execute scripts from a defined list of Python functions
SNMP Activities for executing SNMP commands from a workflow
Table Create and modify multi-dimensional arrays that do not require a target or authentication
Task Activities related to workflows that require user input
Terminal Execute terminal commands from within a workflow
Terraform Activities for interacting with Terraform resources
Unix/Linux System Activities for interacting with Unix/Linux platforms
Web Service Activities for generating HTTP requests

7. Add properties for the activities.

Each activity has both general and activity-specific properties that must be configured. Depending on the activity, you might need to configure Targets or Account Keys. The following are the general properties that are common among all activities:

Property Name Description
Display Name Provide a descriptive name for the activity (required).
Description Provide a short description of the activity (optional).
Activity Timeout Enter the amount of time in seconds that Automation will attempt to complete an activity (required).
Continue Workflow Execution on Failure Check the check box to continue the workflow if this activity fails (optional).
Skip Activity Execution Check this check box to bypass running the activity during the workflow execution (optional).

Logic Components 

Logic components add flexibility to your workflows by allowing you to include elements such as groups, conditions, and loops. To access the Logic components, click the Logic Icon (Logic) icon at the top of the Activities panel. For more information, see the Logic help topic.

logic_activities.png

  • Was this article helpful?