Asset action error

Darlene York
Tera Contributor

Hello,

We have error message "this change can not be moved to review until all Hardware Asset configuration items in the Affected CIs related list has as Asset action selected".

 

I found a KB1695540  article that said that the ham system property for sn_hamp.enable_asset_action_validation_change_request by default is set to true.  I validated that is true, however it is only occasionally enforcing the asset action to be filled out.

 

I was hoping for some insight on why is is happening.

1 ACCEPTED SOLUTION

danmjunqueira
Kilo Guru

This error appears when trying to move a Change Request to the "Review" state, and one or more Hardware Assets in the Affected CIs list do not have an Asset Action selected.

You are correct that the system property sn_hamp.enable_asset_action_validation_change_request controls this behavior. When it's set to true, the validation should be enforced.

However, if the validation only triggers sometimes, here are the most common reasons:

Not all CIs are hardware assets
The rule only applies to Configuration Items that belong to hardware classes, such as cmdb_ci_computer or cmdb_ci_hardware. If the CI is a software, application, or non-hardware type, the check does not apply.

CI is not linked to an active asset
If the CI is not connected to an active hardware asset record, the validation might be skipped.

Asset lifecycle status
The validation might not trigger if the linked asset is already in a final state like Retired or Disposed.

Customizations or skipped logic
If your instance has custom logic, client scripts, or skipped business rules in some environments, the validation may behave inconsistently.

Form behavior or client-side changes
In some cases, if the Asset Action field is being hidden or not refreshed properly in the UI, the validation might not behave as expected.

To confirm the behavior, test with:

A Change Request containing only hardware CIs

All CIs having no Asset Action selected

The system property enabled

View solution in original post

2 REPLIES 2

danmjunqueira
Kilo Guru

This error appears when trying to move a Change Request to the "Review" state, and one or more Hardware Assets in the Affected CIs list do not have an Asset Action selected.

You are correct that the system property sn_hamp.enable_asset_action_validation_change_request controls this behavior. When it's set to true, the validation should be enforced.

However, if the validation only triggers sometimes, here are the most common reasons:

Not all CIs are hardware assets
The rule only applies to Configuration Items that belong to hardware classes, such as cmdb_ci_computer or cmdb_ci_hardware. If the CI is a software, application, or non-hardware type, the check does not apply.

CI is not linked to an active asset
If the CI is not connected to an active hardware asset record, the validation might be skipped.

Asset lifecycle status
The validation might not trigger if the linked asset is already in a final state like Retired or Disposed.

Customizations or skipped logic
If your instance has custom logic, client scripts, or skipped business rules in some environments, the validation may behave inconsistently.

Form behavior or client-side changes
In some cases, if the Asset Action field is being hidden or not refreshed properly in the UI, the validation might not behave as expected.

To confirm the behavior, test with:

A Change Request containing only hardware CIs

All CIs having no Asset Action selected

The system property enabled

Danmjunqueria,

Thank you for such a detailed explanation.  I appreciate the time it took you to write that.  It makes so much sense.  

 

Thank you, have a nice weekend