{ "validation" : [ { "queryFormat" : "/alm_hardware.do?JSONv2&sysparm_action=getRecords&sysparm_query=active=true^sys_id={0}^sys_updated_on>{1}", "queryItems" : ["$.Entity.ExternalId", "$.CollectionContext.DateCollected"], "message" : "The asset has been updated more recently than the collection date." }, { "queryFormat" : "/alm_hardware.do?JSONv2&sysparm_action=getRecords&sysparm_query=active=true^asset_tag={0}^sys_updated_on>{1}", "queryItems" : ["$.Entity.AssetTag", "$.CollectionContext.DateCollected"], "message" : "The asset has been updated more recently than the collection date." }, { "queryFormat" : "/alm_hardware.do?JSONv2&sysparm_action=getRecords&sysparm_query=active=true^serial_number={0}^sys_updated_on>{1}", "queryItems" : ["$.Entity.SerialNumber", "$.CollectionContext.DateCollected"], "message" : "The asset has been updated more recently than the collection date." } ], "proxy":{ "uri" : "", "credentials" : { "username":"", "password":"", "domain":"" } }, "mapping" : [ //Organization root { "importSet" : "x_amiam_assettrack_ami_organization_impo", "entity" : "$.Entity.Organization", "depth" : 0, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Organization.Code[0]", "target" : "u_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.Name[0]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.ExternalId[0]", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Organization.ExternalId[0]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple organizations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}", "queryItems" : ["$.Entity.Organization.Name[0]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple organizations found, organization name must be unique for root." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Organization.ExternalId[0]" } ], "updated" : [] } }, //Organization branch { "importSet" : "x_amiam_assettrack_ami_organization_impo", "entity" : "$.Entity.Organization", "depth" : 1, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Organization.Code[1]", "target" : "u_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.Name[1]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.ExternalId[1]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.ExternalId[0]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Organization.ExternalId[1]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple organizations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Organization.Name[1]", "$.Entity.Organization.ExternalId[0]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple organizations found, organization name must be unique for parent." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Organization.ExternalId[1]" } ], "updated" : [] } }, //Organization leaf { "importSet" : "x_amiam_assettrack_ami_organization_impo", "entity" : "$.Entity.Organization", "depth" : 2, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Organization.Code[2]", "target" : "u_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.Name[2]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.ExternalId[2]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.ExternalId[1]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Organization.ExternalId[2]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple organizations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Organization.Name[2]", "$.Entity.Organization.ExternalId[1]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple organizations found, organization name must be unique for parent." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Organization.ExternalId[2]" } ], "updated" : [] } }, //Location root { "importSet" : "x_amiam_assettrack_ami_location_import", "entity" : "$.Entity.Location", "depth" : 0, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Location.Name[0]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[0]", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Location.ExternalId[0]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}", "queryItems" : ["$.Entity.Location.Name[0]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found, location name must be unique for root." } ], "resultMapping" : { "ignored" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[0]" } ], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[0]" } ], "updated" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[0]" } ] } }, //Location branch { "importSet" : "x_amiam_assettrack_ami_location_import", "entity" : "$.Entity.Location", "depth" : 1, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Location.Name[1]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[1]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[0]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Location.ExternalId[1]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Location.Name[1]", "$.Entity.Location.ExternalId[0]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found, location name must be unique for parent." } ], "resultMapping" : { "ignored" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[1]" } ], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[1]" } ], "updated" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[1]" } ] } }, //Location leafs { "importSet" : "x_amiam_assettrack_ami_location_import", "entity" : "$.Entity.Location", "depth" : 2, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Location.Name[2]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[2]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[1]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Location.ExternalId[2]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Location.Name[2]", "$.Entity.Location.ExternalId[1]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found, location name must be unique for parent." } ], "resultMapping" : { "ignored" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[2]" } ], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[2]" } ], "updated" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[2]" } ] } }, { "importSet" : "x_amiam_assettrack_ami_location_import", "entity" : "$.Entity.Location", "depth" : 3, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Location.Name[3]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[3]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[2]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Location.ExternalId[3]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Location.Name[3]", "$.Entity.Location.ExternalId[2]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found, location name must be unique for parent." } ], "resultMapping" : { "ignored" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[3]" } ], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[3]" } ], "updated" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[3]" } ] } }, { "importSet" : "x_amiam_assettrack_ami_location_import", "entity" : "$.Entity.Location", "depth" : 4, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Location.Name[4]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[4]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[3]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Location.ExternalId[4]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Location.Name[4]", "$.Entity.Location.ExternalId[3]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found, location name must be unique for parent." } ], "resultMapping" : { "ignored" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[4]" } ], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[4]" } ], "updated" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[4]" } ] } }, { "importSet" : "x_amiam_assettrack_ami_location_import", "entity" : "$.Entity.Location", "depth" : 5, "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Location.Name[5]", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[5]", "target" : "u_servicenow_sys_id" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId[4]", "target" : "u_parent_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Location.ExternalId[5]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}^parent={1}", "queryItems" : ["$.Entity.Location.Name[5]", "$.Entity.Location.ExternalId[4]"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple locations found, location name must be unique for parent." } ], "resultMapping" : { "ignored" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[5]" } ], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[5]" } ], "updated" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Location.ExternalId[5]" } ] } }, //Assignee { "importSet" : "x_amiam_assettrack_ami_assignee_import", "entity" : "$.Entity.Assignee", "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Assignee.FirstName", "target" : "u_first_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Assignee.LastName", "target" : "u_last_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Assignee.Code", "target" : "u_employee_number" }, { "changeType" : "New, Update", "source" : "$.Entity.Assignee.ExternalId", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [ { "changeType" : "New", "source" : "$.Entity.Assignee.Code", "target" : "user_name" } ], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Assignee.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple assignees found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "user_name={0}", "queryItems" : ["$.Entity.Assignee.Code"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple assignees already exist with that user name (code)." }, { "changeType" : "New, Update", "queryFormat" : "employee_number={0}", "queryItems" : ["$.Entity.Assignee.Code"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple employees found, employee number (code) must be unique." }, { "changeType" : "New, Update", "queryFormat" : "first_name={0}^last_name={1}", "queryItems" : ["$.Entity.Assignee.FirstName", "$.Entity.Assignee.LastName"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple employees found, employee first name and last name must be unique." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Assignee.ExternalId" } ], "updated" : [] } }, //Vendor { "importSet" : "x_amiam_assettrack_ami_company_import", "entity" : "$.Entity.Vendor", "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Vendor.Name", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Vendor.ExternalId", "target" : "u_servicenow_sys_id" } ], "fieldValues" : [ { "changeType" : "New, Update", "value" : "true", "target" : "u_vendor" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "vendor=true^sys_id={0}", "queryItems" : ["$.Entity.Vendor.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple vendors found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "vendor=true^name={0}", "queryItems" : ["$.Entity.Vendor.Name"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple vendors found with the same name." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Vendor.ExternalId" } ], "updated" : [] } }, //Stockroom { "importSet" : "x_amiam_assettrack_ami_stockroom_import", "entity" : "$.Entity.Stockroom", "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Stockroom.Name", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Stockroom.ExternalId", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Stockroom.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple stockrooms found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}", "queryItems" : ["$.Entity.Stockroom.Name"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple stockrooms found with the same name." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Stockroom.ExternalId" } ], "updated" : [] } }, //CostCenter { "importSet" : "x_amiam_assettrack_ami_cost_center_impor", "entity" : "$.Entity.CostCenter", "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.CostCenter.Name", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.CostCenter.Code", "target" : "u_code" }, { "changeType" : "New, Update", "source" : "$.Entity.CostCenter.ExternalId", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.CostCenter.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple cost centers found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "code={0}", "queryItems" : ["$.Entity.CostCenter.Code"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple cost centers found with the same code." }, { "changeType" : "New, Update", "queryFormat" : "name={0}", "queryItems" : ["$.Entity.CostCenter.Name"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple cost centers found with the same name." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.CostCenter.ExternalId" } ], "updated" : [] } }, //Manufacturer { "importSet" : "x_amiam_assettrack_ami_company_import", "entity" : "$.Entity.Product.Manufacturer", "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Product.Manufacturer.Name", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.Manufacturer.ExternalId", "target" : "u_servicenow_sys_id" } ], "fieldValues" : [ { "changeType" : "New, Update", "value" : "true", "target" : "u_manufacturer" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "manufacturer=true^sys_id={0}", "queryItems" : ["$.Entity.Product.Manufacturer.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple manufactures found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "manufacturer=true^name={0}", "queryItems" : ["$.Entity.Product.Manufacturer.Name"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple manufactures found with the same name." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Product.Manufacturer.ExternalId" } ], "updated" : [] } }, //Product { "importSet" : "x_amiam_assettrack_ami_model_import", "entity" : "$.Entity.Product", "changeType" : "New", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.Product.Name", "target" : "u_name" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.Number", "target" : "u_model_number" }, { "changeType" : "New", "source" : "$.Entity.Product.AssetType.ExternalId", "target" : "u_model_categories" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.Manufacturer.ExternalId", "target" : "u_manufacturer" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.Description", "target" : "u_short_description" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.PartControlNumber", "target" : "u_barcode" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.ExternalId", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.Product.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple products found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "name={0}", "queryItems" : ["$.Entity.Product.Name"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple products found with the same name." } ], "resultMapping" : { "ignored" : [], "inserted" : [ { "source" : "$.result[0].sys_id", "target" : "$.Entity.Product.ExternalId" } ], "updated" : [] } }, //Asset { "importSet" : "x_amiam_assettrack_ami_asset_import", "entity" : "$.Entity", "changeType" : "New, Update", "fieldMapping" : [ { "changeType" : "New, Update", "source" : "$.Entity.AssetTag", "target" : "u_asset_tag" }, { "changeType" : "New, Update", "source" : "$.Entity.SerialNumber", "target" : "u_serial_number" }, { "changeType" : "New, Update", "source" : "$.Entity.PONumber", "target" : "u_po_number" }, { "changeType" : "New, Update", "source" : "$.Entity.WarrantyEndDate", "target" : "u_warranty_expiration" }, { "changeType" : "New, Update", "source" : "$.Entity.Cost", "target" : "u_cost" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.ExternalId", "target" : "u_model" }, { "changeType" : "New, Update", "source" : "$.Entity.Product.AssetType.ExternalId", "target" : "u_model_category" }, { "changeType" : "New, Update", "source" : "$.Entity.Assignee.ExternalId", "target" : "u_assigned_to" }, { "changeType" : "New, Update", "source" : "$.Entity.Location.ExternalId", "target" : "u_location" }, { "changeType" : "New, Update", "source" : "$.Entity.CostCenter.ExternalId", "target" : "u_cost_center" }, { "changeType" : "New, Update", "source" : "$.Entity.Organization.ExternalId", "target" : "u_department" }, { "changeType" : "New, Update", "source" : "$.Entity.Vendor.ExternalId", "target" : "u_vendor" }, { "changeType" : "New, Update", "source" : "$.Entity.Stockroom.ExternalId", "target" : "u_stockroom" }, { "changeType" : "New, Update", "source" : "$.Entity.Status", "target" : "u_state" }, { "changeType" : "New, Update", "source" : "$.Entity.ServiceStatus", "target" : "u_substate" }, { "changeType" : "New, Update", "source" : "$.Entity.ExternalId", "target" : "u_servicenow_sys_id" } ], "customFieldMapping" : [ ], "resolutionMapping" : [ { "changeType" : "New, Update", "queryFormat" : "sys_id={0}", "queryItems" : ["$.Entity.ExternalId"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple assets found with the same sys_id." }, { "changeType" : "New, Update", "queryFormat" : "asset_tag={0}", "queryItems" : ["$.Entity.AssetTag"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple assets found with the same asset tag." }, { "changeType" : "New, Update", "queryFormat" : "serial_number={0}", "queryItems" : ["$.Entity.SerialNumber"], "matchBehavior" : "exceptOnMultiple", "message" : "Multiple assets found with the same serial number." } ], "resultMapping" : { "ignored" : [], "inserted" : [], "updated" : [] } } ] }