Regarding Service Catalog

VishaalRanS
Tera Guru

Hi everyone,

How can I customize the Service Catalog to include conditional fields based on user input?

 

Regards

Vishaal

 

2 ACCEPTED SOLUTIONS

Hitoshi Ozawa
Giga Sage
Giga Sage

If it's a simple condition, can use Catalog UI Policy.

https://docs.servicenow.com/bundle/xanadu-servicenow-platform/page/product/service-catalog-managemen...

 

If it's complex, can use Client Script.

https://docs.servicenow.com/bundle/xanadu-application-development/page/script/client-scripts/concept...

 

Need further details on what and how you want to customize.

View solution in original post

Sai Krishna6147
Mega Guru

Hi @VishaalRanS 

You can Customize the Service Catalog to include conditional fields:

  • For more complicated conditional logic, use client scripts where as  for simpler logic, use UI Policies based on user input.
  • Ensure that mandatory fields are only required when necessary based on the user input to avoid blocking the submission.

NOTE: The catalog item should always be thoroughly tested to make sure the conditional logic functions in a variety of scenarios and user inputs.

 

 

View solution in original post

3 REPLIES 3

Sanjay191
Tera Sage

Hello @VishaalRanS 
Could You give me more explaination on this to understand better what's your requirement  ?


Thank You

Hitoshi Ozawa
Giga Sage
Giga Sage

If it's a simple condition, can use Catalog UI Policy.

https://docs.servicenow.com/bundle/xanadu-servicenow-platform/page/product/service-catalog-managemen...

 

If it's complex, can use Client Script.

https://docs.servicenow.com/bundle/xanadu-application-development/page/script/client-scripts/concept...

 

Need further details on what and how you want to customize.

Sai Krishna6147
Mega Guru

Hi @VishaalRanS 

You can Customize the Service Catalog to include conditional fields:

  • For more complicated conditional logic, use client scripts where as  for simpler logic, use UI Policies based on user input.
  • Ensure that mandatory fields are only required when necessary based on the user input to avoid blocking the submission.

NOTE: The catalog item should always be thoroughly tested to make sure the conditional logic functions in a variety of scenarios and user inputs.