UI Policy not working on RITM

Luis Roman1
Tera Contributor

I have the following UI Policy configure for a catalog item. However, when I go to the RITM after generating the catalog item they do not apply or work. If select "classified" all the choices are display instead of the on that are in the policy. Help or education appreciated.

 

LuisRoman1_0-1672956772273.png

LuisRoman1_1-1672956844749.png

LuisRoman1_2-1672956892300.png

 

 

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Yes @Luis Roman1 , the catalog client script will be applicable to the RITM or SCTASK generated by the catalog item. Following is the screen shot of the options you have choose to make it work in RITM and SCTASK. With the requirement, you have posted, you can use on change catalog client script, put your code in the on change function. Make sure you tick Applies to requested item and Catalog task.

 

GaganKris_0-1672960652681.png

 

Please mark helpful/Like, if the solution is in line with your expectation.

 

Regards,

Gagan k

View solution in original post

13 REPLIES 13

-O-
Kilo Patron
Kilo Patron

Have you tried doing it with the help of a Catalog Client Script?
Besides UI Policies are meant to hide or show fields, make fields optional or mandatory or make fields read-only or read-write.

Luis Roman1
Tera Contributor

Kilo will the Catalog Client Script applied to the RITM or SCTASK once the catalog item is created? The catalog item UI policy works good but it does not apply to the RITM or SCTASK. What I need to do is somehow able to apply a script to the RITM or SCTASK. Any ideas or suggestions? Please all feedback is welcome.

Yes, if you configure those to also run on Requested Items and Catalog Tasks, it will run on those too. It's just like with UI Policies from that p.o.v.2023-01-06-1.png

 

Though if I were in your shoes I would go for a variable of type Lookup Select Box, because then I could use Reference qualifier for it so just with configuration I could implement the requirement - one that would also automatically apply both in Portal/Catalog and the generated records (Requested Item and Catalog Task).

PDIs have a demo Catalog Item called Install WinZip that has a variable called Target System that can be used as a inspiration source for such a variable.