Characteristics Value are blank in order line item, But in Request all had values

Lekhraj Belchan
Tera Contributor

Did create a Service specification, created request for that.

Order request from ServiceOrderAPI, a customer order is been created for same request. 

Customer -> Order line Item do have all the characteristics, but all characteristics values are missing in Order line item.

But they were present in request.

8 REPLIES 8

Kailash Bhange
Kilo Sage
Kilo Sage

Hello Lekhraj,

Greetings!

Could you please share your JSON, so that we can at least check what's goin wrong here.

Are these char's marked mandatory as false?

 

Hope this helps.
If my answer resolves your issue, please mark my answer as Correct & Helpful based on the validations.

Thank You!
Regards,
Kailash

 

Characteristics are non mandatory. I spoke to many, now I am create many Characteristics for may devices like -- 

device[type1].id
device[type1].type
device[type1].name
device[type1].role
device[type1].model

device[type2].id
device[type2].type
device[type2].name
device[type2].role
device[type2].model

device[type3].id
device[type3].type
device[type3].name
device[type3].role
device[type3].model

.

one more question -- Suppose 2 quantity of same resource is been decomposed from one service. how can we map different sets of characteristics in each resource ?

Tom Schnarr
ServiceNow Employee
ServiceNow Employee

I wonder if your characteristics are of type choice (or boolean or another enumeration).  For those product characteristics - they are stored via the product model.  So the product inventory has reference to the product model which has productModelCharacteristics.

 

Another issue maybe - is this an upgraded environment.  You may have upgraded from Rome to San Diego - be sure to have the 'reparenting' script.  Details of this are here -OM Reparenting

 

Between Kailash's suggestions and these, I hope this helps

Hello Tom,

we are facing the same issue with the product order. We placed the order via the (POST) /productorder endpoint, the decomposition kicked in, and everything got created. It was working fine, even after the upgrade to the 2.0.0 version but it recently stopped working. No customer order characteristic is populated.

The only changes were:

  1. adding and removing characteristics options to/from product offerings
  2. adding a completely new characteristic + adding to product spec and product offering

We had to unpublish/publish the offerings and specs via script in order to do so. I am wondering what we broke? 
Is the process of adding/removing characteristics ok or did we miss something?

 

PS: attaching a JSON file with a sample of the request's body

Best regards
Roman