Open State Management - configInstance Payload issue

Ajith Sasi
Tera Expert

ServiceNow can't able to generate NodePath structure for child products. After recent update, our existing product configuration in Open state management was not working while checking we came to know ServiceNow can't able to build the complete structure of Open state management ie., Child product node structure is missing in the paylod. We check the OOB scripts for configInstance payload generation. 

Script include: 

1)sn_prd_pm.OpenStateConfigInstanceAPIImpl

2) sn_prd_pm.OpenStateConfigInstanceUtil (Node path generation)

 

the second script include is responsible for generation of NodePaths but as per my understanding the self invoking function at line 28 fails because of the if condition in line 13.

relationship_group is not avaialble in bundled products and also for optional products the length is 0 still it is running for optional product but not bundled products.

 

AjithSasi_0-1756712199745.png

 

1 REPLY 1

Ajith Sasi
Tera Expert

Sry my Bad, the issue is because Open state payload generation doesnot support child products with instances key?  Not sure the payload structure is different for Bundled products and Optional products. 

AjithSasi_0-1756788126017.png