Let Oomnitza be your single source of truth!
You'll get visibility of your assets as data from Device42 is automatically transformed into consumable information and actionable insights.
Connect Oomnitza and Device42 in minutes
You'll get visibility of your Device42 assets by creating configurable workflows to automate tasks such as:
-
- Workflows for getting asset details
- Workflows for deleting assets
- Workflows for updating assets
Adding the Device42 Organization URL as a global variable
Before you start
Before you create the asset integration, you need to have added your Device42 credentials to Oomnitza.
We recommend that you also create the extended integration for Device42 assets. You can use the information retrieved in these integrations to trigger workflows that can delete assets, create assets, and much more.
Adding the Device42 Organization URL as a global variable
To save time entering information when you create workflows, you can add the Device42 Organization URL as a global variable in Oomnitza.
- From the menu, go to Configuration>General.
- Click Global Settings.
- Click Add new variable (+).
- Enter Device42.OrgURL as the variable name.
- Enter the URL of your Device 42 system.
- Save your changes.
Creating workflows
Create asset workflows
To create an asset workflow, you must select the Device 42 credentials that you created in Adding your Device42 credentials to Oomnitza.
To choose a preset, complete these steps:
- Click Configuration > Workflows
- Click Add (+) and select Assets from the list.
- Drag and drop the API block onto the Sandbox.
- Click Edit on the API block and enter Device42 in the search field.
- Select a preset:
- To choose a preset, click the forward arrow (>).
- Configure the API Block following the preset instructions below, and save your changes.
- Edit the Begin Block and add rules to trigger the workflow. For example, if you set the Actions to New you can trigger a workflow every time a new asset is created. Refer to Using the Begin block.
- Connect the Blocks.
- Save, validate, and activate your workflow.
Using the Create Asset preset
The Create Asset preset enables you to create an asset.
When you select this preset you need to supply the following information:
- Name: Asset Name.
- Type: Select an existing asset type. You can view a complete list of Asset Types from the Type dropdown list on the Device42 API Documentation: Create Assets page.
- Service Level: You can use the pre-defined values of "In Service", "Spare", or "Not in Service" - or enter your own defined values.
- Location: Location/region of instance deployment.
- Serial Number
You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Body tab. You can, update or add fields (such as notes) that will be used in the request payload. For information on the fields that are permitted in the request payload refer to Device42 API Documentation: Create Assets.
- Select the Response tab. You can map the entire response by placing
{{response}}
in the Response field and mapping it to a custom long text Oomnitza field, such as API Response. For information on creating custom fields, see Creating Custom Fields in Oomnitza.
Using the Modify Asset preset
The Modify Asset preset enables you to update or modify an asset, using a Device42 Asset ID.
When you select this preset you need to supply the following information:
- Asset ID: Asset ID. If you have created an asset integration and followed the mapping steps in Creating custom mappings you can add the property
{{device42_asset_id}}
to this field. Otherwise, enter the Asset ID. - Asset Name: Asset Name.
- Service Level: You can use the pre-defined values of "In Service", "Spare", or "Not in Service" - or enter your own defined values.
- Type of Asset: Select an existing asset type. You can view a complete list of Asset Types from the Type dropdown list on the Device42 API Documentation: Create Assets page.
You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Body tab. You can, update or add fields (such as notes) that will be used in the request payload. For information on the fields that are permitted in the request payload refer to Device42 API Documentation: Modify Asset.
- Select the Response tab. You can map the entire response by placing
{{response}}
in the Response field and mapping it to a custom long text Oomnitza field, such as API Response. For information on creating custom fields, see Creating Custom Fields in Oomnitza.
Using the Delete Asset preset
The Delete Asset preset enables you to delete a device, using a Device42 Asset ID. You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Information tab. You will notice that the Device42 Device ID is referenced in the property
{{device42_asset_id}}
.You can map the Asset ID to this field by creating an asset integration and following the mapping steps in Creating custom mappings, otherwise, enter the Asset ID. - Select the Response tab. You can map the entire response by placing
{{response}}
in the Response field and mapping it to a custom long text Oomnitza field, such as API Response. For information on creating custom fields, see Creating Custom Fields in Oomnitza.
Comments
0 comments
Please sign in to leave a comment.