Jump to content

Recommended Posts

Posted

Morning, we currently import and update our desktops and Laptops from SCCM into the Asset Database. 

For some reason, newly created devices are being assigned a State of 'Current' and I do not understand why; presume this may just be a default setting somewhere. 

I have combed through the .json file and there is no mention of the state being set so I need some help to change this so new records are assigned an Active state. 

Does anyone know how I would change this? 

 

Thanks 

Sam

  • 1 month later...
Posted

The import tool needs to have these fields mapped in "AssetGenericFieldMapping" section:

"h_record_state": "value",
"h_substate_id":"value",
"h_substate_name":"value"

If this is added to the config file, the general practice is that you would want to set these only for newly created assets. Therefore you would need to consider the "PreserveState" and "PreserveSubState" parameters since you might not want to overwrite the asset state when an update is performed on that asset (the value for these parameters would be set to "true" in this scenario).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...