Samantha Howlett Posted May 22, 2024 Posted May 22, 2024 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
Victor Posted July 18, 2024 Posted July 18, 2024 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).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now