Set mandatory in Product configurator - Open state management

Ajith Sasi
Tera Expert

I want to make some characteristics mandatory if certain conditions are met how can I achieve this using open state management? Compatibility rules are not working for me in UI level. 

1 ACCEPTED SOLUTION

Ajith Sasi
Tera Expert

Found solution, currently setMandatory feature is available only with pro license.

View solution in original post

6 REPLIES 6

junyamashit
Tera Contributor

You can find docs here and it was further described in the SOM training-

https://www.servicenow.com/docs/bundle/yokohama-order-management/page/product/tmt-order-mgt/concept/...

Now Learning
https://learning.servicenow.com/lxp/en/customer-service-management/sales-and-order-management-som-im...

-> see section on Pricing Extensions, Configurator State Management - SOM

Product Documentation | ServiceNow

Hi @junyamashit,

I have checked the course and docs, both are explaining about setEditable, Visible, Quantity and SetValue methods. I want to make my characteristic mandatory on conditional basis for that is there any way we can achieve via open state management?

 

Hi @junyamashit,

I have checked the course and docs, both are explaining about set Editable, Visible, Quantity and Set Value methods. I want to make my characteristic mandatory on conditional basis for that is there any way we can achieve via open state management?

 

Hi Ajit,

 

 

For characteristics that are not mandatory, please set a default value, such as "-", using the setValue method.

For characteristics that are mandatory, set the value to blank using the setValue method to trigger the mandatory validation.