The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Add a "Start Date" field to require the user to input the user's start date

DeIvory Gordon
Tera Guru

Hello, I have to modify a catalog item add a "Start Date" field to require the user to input the user's start date if the following are chosen: display start date if below is true. Business Justifications:
New position, no current computer or new person, no current computer.  I created the following catalog UI policy:  

DeIvoryGordon_0-1758557090124.pngDeIvoryGordon_1-1758557208084.pngDeIvoryGordon_2-1758557268337.png

I am not sure where/how to add a start field to the catalog UI policy.  Thanks!

3 REPLIES 3

RaghavSh
Kilo Patron

See the related list of this UI policy, there will be UI policy actions.

Add the Ui policy action for start date and visibility=true.

 

Variables are not added in catalog ui policy (it is just for defining conditions). Variables are added in UI policy actions.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

Ankur Bawiskar
Tera Patron
Tera Patron

@DeIvory Gordon 

once you save the Catalog UI policy, in related list you can create UI policy action and select your variable and show it and make it mandatory.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

kaushal_snow
Mega Sage

Hi @DeIvory Gordon ,

 

You can use catalog ui Policy that makes the Start Date field visible and mandatory based on specific conditions. For instance, you can set the condition to trigger when the Position Type is New or when the Computer Status is None, indicating a new position or a new person without a current computer. ..

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/