Cisco Crosswork Workflow Manager Solutions 2.1 MOPs User Guide

PDF

Cisco Crosswork Workflow Manager Solutions 2.1 MOPs User Guide

CWM Solutions MOP Customization

Want to summarize with AI?

Log in

Explains how to customize CWM Solutions MOPs by exporting, importing, cloning, editing, creating MOPs, and creating custom MOP action types.


CWM Solutions MOP customization lets you keep backups of MOPs, share custom MOPs with other locations in your organization, clone default MOPs, create MOPs from scratch, and create custom MOP actions.

Customization methods

You can export MOPs as JSON files. You can also use the Import function to share custom MOPs with other locations in your organization that are using CWM Solutions.

The quickest way to create a MOP is to clone one of the default MOPs supplied with Crosswork Workflow Manager Solutions and then modify it as needed.

You can use the MOPs graphic user interface to create MOPs from scratch, in free-form fashion, using the MOP action types that you choose.

You can create custom MOP actions that you can then use whenever you create a custom MOP from scratch or clone and edit an existing MOP.


Export MOPs

Export a MOP as a JSON file.

You can export MOPs as JSON files. This is a handy way to keep backups of MOPs you create. You can also use this with the Import function to share custom MOPs with other locations in your organization that are using CWM Solutions.

Procedure

1.

From the main menu, choose CWM Solutions > MOPs. Crosswork displays the MOP list, listing all existing MOPs.

2.

Follow the steps in Find MOPs to find the MOP you want to export.

3.

At the far right, in the same row as the MOP you want to export, click the More icon (…). Crosswork displays a drop-down menu.

4.

From the drop-down menu, choose Export (JSON) . MOPs displays a message indicating that the MOP has been exported to a JSON file. Check your local default download folder for a file with a filename that matches the name of the exported MOP, with a JSON filename extension.

Store or transmit the exported MOP file as needed.


Import MOPs

Import a MOP JSON file.

Note that, although the exported MOP file is editable, you cannot edit and import it again. The edited MOP will be non-functional.

Procedure

1.

From the main menu, choose CWM Solutions > MOPs.

2.

Click Import MOP (JSON).

3.

Browse to and select the exported file, then click Import MOP. When the import is finished, the file appears in the MOP list.


Clone and edit MOPs

Clone and edit an existing MOP.

The quickest way to create a MOP is to clone one of the default MOPs supplied with Crosswork Workflow Manager Solutions and then modify it as needed. You will be required to give the cloned MOP a unique name, but you can then work with the cloned MOP as though it were entirely new.

You can create MOPs using other means, such as:

Procedure

1.

From the main menu, choose CWM Solutions > MOPs to display the MOP list, listing all existing MOPs.

2.

At the far right, in the same row as the MOP you want to clone, click the More icon (…). CWM Solutions displays a drop-down menu like the one at right in the following figure.

Figure 1. Clone a MOP
Using a MOP list to clone a MOP
3.

From the drop-down menu, choose Clone. CWM Solutions displays an edit window for the MOP you are cloning. All the fields except the MOP name will be filled with exact copies of the values they had in the MOP you cloned. This includes the cloned MOP's Selected actions and input configurations.

4.

Enter a new, unique name for the cloned MOP and click Save changes.

You can now change the values in the editable fields, add or remove MOP actions, and change action inputs in the cloned MOP as you would for a newly created MOP, as explained Create custom MOPs.

When you are finished, click Save changes.


Create custom MOPs

Create a custom MOP from scratch.

You can use the MOPs graphic user interface to create MOPs from scratch, in free-form fashion, using the MOP action types that you choose. The steps below show how to do this.

You can also create MOPs using other means, such as:

Procedure

1.

From the main menu, choose CWM Solutions > MOPs to display the MOP list, listing all existing MOPs.

2.

Click + Create MOP. CWM Solutions displays the Create new MOP window, with most of the first five required identification fields blank.

3.

Edit the first three of the five identification fields at the top of the window as shown in the table below:

In this field...

Enter or select...

MOP name *

A new name for the new MOP. You must enter a unique name.

Application Type*

The name of the CWM Solutions application for which the MOP is intended (for example, Device Migration).

Vendor*

The name of the vendor for whose devices the MOP is intended (for example, Cisco Systems)

Product series*

Select one or more product series from the chosen vendor to include in the MOP. Multiple selections allow the MOP to apply to all selected product series.

Tags*

A comma-separated list of tags to be applied to the job whenever a user runs this MOP.

4.

As soon as you enter the tags, the Create new MOP window populates the Available actions list with Action Types appropriate for the Vendor and Product series you selected.

5.

Add one of the Available actions on the left to the Selected actions list on the right:

  1. In the Action type list on the left, click the + icon next to the Action type you want to add. An Add Action window for the new Action Type appears, like the one shown below.

  2. Enter a Custom name for the newly selected Action, and select the Stage at which you want it to be performed and the Version of the action if multiple versions of the same action are available.

  3. Click Add. The newly added Action appears in the Selected actions list, at the end of the Actions in the Stage you selected for it.

6.

To remove one of the Selected actions on the right:

  1. Click the more icon (…) shown to the right on the same row as the name of the selected action you want to delete. Crosswork displays a drop-down menu.

  2. Select Delete. You will be prompted to verify that you want to delete the Action. Click Delete again to remove it.

7.

To edit the Custom name, Stage, Position, or Configuration details for one of the Selected actions on the right:

  1. Click the more icon (…) shown to the right on the same row as the name of the selected action you want to edit. Crosswork displays a drop-down menu.

  2. Select Edit. A popup action configuration window for the action appears, with Details and Input tabs, like the one shown below.

    Figure 2. Device snapshot configuration - edit details
    Device Snapshot Configuration edit details and input
  3. To change the selected Action's Custom name, Version, or Stage, edit the respective fields on the Details tab.

  4. For actions that have configurable inputs: To change the action's input configuration, click the Input tab to display the Input Schema tools as shown below.

    Toggle the As form and As JSON payload buttons to toggle the configuration view.

    Use the Text/View drop-down to toggle between JSON and JavaScript views, and format JSON text. You can also use the + icons to format JMEScript queries and sorts.

    Figure 3. Device snapshot configuration - toggle
    Device Snapshot Configuration toggle between JSON and JavaScript views
8.

When you are finished, click Save changes.