Asset Management Transactions in a Manage CMDB Task

You can set up an asset management transaction to run automatically through an activated Manage CMDB task.

For an overview of important concepts relating to asset management in ASM, view Managing Your Assets.

Asset management can perform various transactions on Inventory or Software Product CMDB items, such as ordering inventory items or licenses, adding inventory items or software licenses to your CMDB once the order has been received, reserving inventory items or licenses for certain customers, or retiring inventory items or licenses. You can automate asset management processes through the following transactions:

Ordera transaction for items your organization has ordered but not yet actually purchased

Purchase

a transaction for items your organization has actually purchased

Receive Order

a transaction for receiving previously ordered items as purchased

Allocate from On Hand

a transaction for allocating items to a CMDB item or person. The allocated items are transferred from the ordered or purchased items

Allocate from Reservation

a transaction for allocating items to a CMDB item or person. The allocated items are transferred from the reserved items

Reserve

a transaction for reserving items for use by a CMDB item or person

Retire

a transaction for retiring items. After retirement, the items are no longer available for allocating

Return to the On Hand from In Use

a transaction for making items available again

Return to the On Hand from Reserved

a transaction for releasing reserved items and making them available again

Asset management transaction item pools

Asset management transactions enable you to automate the transfer of bulk quantities of a particular license or inventory within the CMDB. The items are transferred to (or from) an item pool such as the Ordered pool, the On Hand pool, the In Use pool, depending on the type of transaction performed.

You may have a workflow for new employees with various tasks and approvals for setting the new employee up with access to IT services and hardware items. You can add a Manage CMDB task to automatically create new people and automatically allocate licenses or inventory items to them.

To take another example, for a procurement workflow for software purchases, you might set up a Manage CMDB task to automatically manage the number of items of a particular Inventory or Software Product from ordering items, to receiving the items as available and allocating items to, for example, the customers and/or configuration items linked to the request.

Adding Order or Purchase transactions

  1. Create the Manage CMDB task.

  2. At Transaction Type choose Asset Management Transaction and click Add.

  3. Complete the details.

NameType the name of the task

Description

If necessary, add a description

Type

Select License or Inventory

Transaction

Select from:

  • New Order

  • Receive Order

  • Purchase

  • Allocate from On Hand

  • Reserve

  • Allocate from Reservation

  • Unallocate

  • Retire

Mapping Table

Specify the software product or inventory for which to order or purchase the items, the quantity of items order or purchase, and the transaction status to apply to the items.

The Update column is not displayed on the Mapping Table for the asset management transactions.

4. Add fields to the Mapping Table:

  • Click Add.

  • In the Add fields window, select the fields you want to map, most importantly, CMDB Item, Quantity, and Transaction Status.

  • Click OK.

  • Specify the values for the added fields.

5. To specify the Software Product or Inventory for which items are ordered or purchased, click in the Value column for the CMDB Item field.

  • Select (Value) to select a CMDB item.

  • Select (Quick Search) to select a CMDB item from the CMDB Item Quick Search window.

  • Alternatively double-click a request CMDB item field to dynamically create an order or purchase for the CMDB item populating that field when the transaction runs. This list includes CMDB items or any field that might lead to a CMDB item.

For Example: Selecting the value Config Item selects the configuration item linked to the request, or selecting the value Base CMDB Item selects the CMDB item from which the current CMDB item on the request was cloned.

While you can drill down into any request field, such as Customer, not all fields necessarily lead to a CMDB item. Also, if a field is italicized in this multi-tiered list, you can only drill down into it.

6. To specify the quantity of items to be ordered or purchased, click in the Value column for the Quantity field

  • Select (Value) to specify a quantity in the Value column.

  • Alternatively, double-click a request CMDB field to base the quantity on a value populating that field at runtime

7. To specify the transaction status of the items to be ordered or purchased, click in the Value column for the Transaction Status field.

  • Select (Value) to drill down into the base transaction status types and select the suitable transaction status.

Although it is possible to map any transaction status for a given transaction type, invalid status values will be ignored at run time. For example, if you map the transaction status for an Order transaction to Purchased, the transaction will fail.

Best Practice

When specifying the values for fields in the mapping table, the data type of the fields shown as options in the Value column (that is, the options shown when you select into the field) may not necessarily match the data type of the field specified in the Field column.

In this case, the transaction will not fail however Alemba® recommends that you match fields in this way only if it meets a particular requirement of your database.

8. Select Error to fail the transaction if an error is encountered when the task runs.

9. Click OK.

Adding Receive Order, Allocate, Reserve, Retire, or Return transactions

  1. Create the Manage CMDB task.

  2. At Transaction Type choose ‘Asset Management Transaction’ and click Add.

  3. In the Transaction Details window, complete the Transaction Name and, if necessary, Description fields.

  4. At Transaction Type, select the appropriate asset transaction type. If you select another type, a warning message appears. Click Yes to refresh the screen for the particular transaction type, or No to continue to add the details for the current transaction type.

  5. In the field below, specify the criteria for selecting items on which to perform the transaction. When the task is activated as part of a workflow, the system will search the specified transaction pool or group of items based on your selection here to calculate the total number of items available for transfer.

The label of this field depends on the type of asset management transaction and will indicate the item pool from which the items will be transferred, such as “Choose On Hand Items” if you are setting up an ‘Allocate from On Hand’ transaction.

The following options display on the menu:

Advancedselect this option to define rules for specifying the selection criteria in the rules builder. For example, you can add a rule {Orders:Contract}={Request:UC/Contract} which would select only items in the Ordered pool that are linked to the same contract as the UC attached to the request

Transaction Output

select this option to drill down into previous transactions defined on the same task, and therefore select the output pool from a previous transaction

6. Click Add to List.

7. Repeat to add another transaction pool.

8. In the Mapping Table, add the CMDB item or Person to or for which to transfer the items, specify the Quantity of items to transfer, and the Transaction Status to apply to the transferred items. Specify these values by clicking in the Value column of each row in the table. Depending on the type of asset management transaction you are adding, you may be able to add and specify other transaction fields and details.

Note the following when completing the details:

  • If you add a multi-select field and multiple items are selected in that field when the transaction runs, a separate transaction record is created for each one.

  • Although it is possible to map a new CMDB item for a Receive Order transaction, the mapping will be ignored at run time and the purchase created will always use the CMDB item specified on the original Order transaction. In addition, for a Retire or Return to On Hand transaction, the CMDB item or Person mapping will be ignored as they are not relevant to these transactions.

  • Although it is possible to map any transaction status for a given transaction type, invalid status values will be ignored at run time. For example, if you map the transaction status for a Receive Order transaction to Reserved, the transaction will fail.

  • When specifying the values for fields in the mapping table, the data type of the fields shown as options in the Value column (that is, the options shown when you select ) does not necessarily match the data type of the field specified in the Field column. The transaction will not fail but you should only match fields in this way if it meets a particular requirement of your database.

9. Click OK.

How asset management transactions are executed

When the Manage CMDB task is activated by a workflow, ASM will evaluate the transactions added to the task.

For asset management transactions in which items are ordered or purchased, ASM uses the quantity specified in the mapping table to work out the number of transaction records to create and the number of items to add. Order transactions add items to the Ordered transaction pool. Purchase transactions add items to the On Hand transaction pool. The mapping table enables the system to determine the number of software licenses or inventory items to transfer to the Ordered or On Hand pool.

For asset management transactions whereby items are received, allocated, reserved, retired or returned, ASM will calculate whether the number of available items meets or exceeds the number of items to be transferred by the particular transaction (that is the amount specified in the Quantity field in the Mapping Table). If so, the transaction runs, otherwise it fails. The system also checks whether any usage restrictions apply to the particular Software Product or Inventory from which items are being selected for transfer, against the CMDB Item specified in the mapping table.