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

Community Alums
Not applicable

Hi @Luis Roman1 ,

 

How about writing on Change catalog client script to achieve what you're looking for. 

UI policy may not be the right choice from the description and the snap shot you have shared. 

 

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

 

Regards,

Gagan k

 

 

 

 

Kris will the Catalog Client Script applied to the RITM or SCTASK generated by the catalog item? The catalog item UI policy works good in the catalog item submission but they do not apply to the RITM or SCTASK created and that is what I need.  Any other ideas or suggestions? Please all feedback is welcome.

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

Kris did the catalog script as you recommended. The catalog items works correctly. But the options displays in the RITM and SCTASK does not show the options coded or added in the catalog script.

Any ideas? Is there a dictionary set up that is restoring the original choices? Not sure how to proceed to continue the debugging. Your help will be appreciated.  Below is a picture of the script for you to check the script. If you need any additional information to continue to help me please let me know.  Thanks, Luis 

LuisRoman1_0-1673099376121.png

 

Community Alums
Not applicable

Hi @Luis Roman1 , Can you please share the code and the current scenario you see in the RITM and SCTASK? Would be easy check.

 

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

 

Regards,

Gagan k