Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Hide the variables field in RITM based on created date

Sirri
Tera Guru

Hi all,

 

I have a requirement hide the variables field in RITM based on before created date and If 

Select Application from the list(this is variable in the catalog item) is Foxit PDFEditor.

 

example: which RITM are created before 4-Nov-2023.

Note: In RITM there is a variables section, These all are coming from catalog item.

As per my requirement I want to hide highlighted field in pic

1)AD Group for Computer

2)Uninstall AD Group

 

Please find the attached document.

 

6 REPLIES 6

Sandeep Rajput
Tera Patron
Tera Patron

@Sirri Do you have a variable on your catalog item which is capturing created date? If check is about only the application (Foxit PDFEditor) it can be easily achieved by a UI Policy on the catalog item. However, if the date check is must then it can only be handled via UI Policy if there is a created date variable defined on the catalog item as a variable.

Hi @Sandeep Rajput ,

Created variable date is not there in my catalog item variables. I think that will there in sc_cat_item table.

Please can you check if in your PDI it will get clear idea. 

Please let me know after trying in your PDI If you have get it . Please share with attached snips.