Skip to main content
Version: 2026-06-04

Assets

Assets are the inner-most level of OpsChain's organisational structure. They are linked to an asset template and an asset template version, which give them their actions.rb and their Git revision. An asset should be the closest representation of an actual infrastructure component or service that you want to manage with OpsChain.

Assets can be created inside a project or an environment. Properties and settings configured at the asset level override those defined on the project and the parent environment, so the asset is the most specific place to put configuration that only applies to one instance.

This tab lists the assets available for the project. It only shows assets that are immediate children of the project - assets belonging to an environment must be accessed via the environment details screen, but will show a similar view.

Project assets screen

Each row includes:

ColumnDescription
NameThe name describing the asset.
CodeShows the asset's unique code.
DescriptionProvides a short summary or purpose of the asset.
ArchivedIndicates the archival status of the asset.
Buttons & linksFunction
Bulk actionsPerform operations on multiple assets, such as archiving.
Search barFilter the contents of the table based on these criteria.
Show archivedToggle to show archived assets in the table.
ColumnsHide or display columns in the table.
Create assetAdd a new asset to the project or environment

Creating a new asset

Create new asset screen

To create a new asset, first create an asset template and an associated asset template version, and then follow these steps:

  1. Click on the Create asset button.
  2. Fill in the mandatory fields in the dialog, including the asset name, code, template name and template version.
  3. (Optional) Add a description to clarify the purpose of the asset for other users.
  4. Click the Create asset button. The new asset will appear in the assets list of the project.

Promoting an asset to a new template version

Once an asset has been created, its template cannot be changed. To alter the asset's configuration, either update the asset's properties or create a new version of the existing asset template and assign it to the asset:

  1. Open the asset template details page and create a new template version pointing at the desired Git revision.
  2. Open the asset details page.
  3. Select the new template version from the version dropdown.

This intentional two-step promotion ensures you're in control of when a new code revision starts being used by the asset.

Running changes on an asset

The run button at the top of the page lets you run any of the template version's MintModel or documented actions by selecting it from the dropdown. Use the advanced mode option to manually enter an action defined in actions.rb that does not include a description (and is therefore not listed in the dropdown).

See the run change dialog for a walkthrough of the form fields.

Archiving an asset

Archive an asset by selecting it from the assets table and choosing Archive from the Bulk actions menu.

Archiving an asset:

  • disables the asset's scheduled activities - they will not run until the asset is restored
  • prevents new changes, workflow runs and scheduled activities from being created against the asset
info

An asset cannot be archived if it contains a queued or running activity. Wait for those activities to complete (or cancel them) before archiving.