Hide a variable in RITM

Thomas98
Tera Expert

Hi, 

 

Can someone please help me with this.

In a catalog form we ask for a date of birth, however, I dont want this field appear in the RITM. 

(For task I can control the visiblity of the variable in the flow). 

 

The rational behind this is when the request is closed the date of birth is sent to the HR team to enter in their system. 

 

How can this be achieved ? 

 

 

 

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Thomas98 On your catalog item, create a new UI Policy as follows.

 

Screenshot 2023-08-21 at 8.08.18 PM.png

Make sure that your UI Policy applies on the target record.

Screenshot 2023-08-21 at 8.09.01 PM.png

Set the visibility to false.

Screenshot 2023-08-21 at 8.10.24 PM.pngScreenshot 2023-08-21 at 8.10.37 PM.png

Finally your UI Policy should look like above.

 

Once this UI Policy is defined. The variable will no longer appear in the variable editor on RITM.

 

Hope this helps.

View solution in original post

6 REPLIES 6

Sandeep Rajput
Tera Patron
Tera Patron

@Thomas98 On your catalog item, create a new UI Policy as follows.

 

Screenshot 2023-08-21 at 8.08.18 PM.png

Make sure that your UI Policy applies on the target record.

Screenshot 2023-08-21 at 8.09.01 PM.png

Set the visibility to false.

Screenshot 2023-08-21 at 8.10.24 PM.pngScreenshot 2023-08-21 at 8.10.37 PM.png

Finally your UI Policy should look like above.

 

Once this UI Policy is defined. The variable will no longer appear in the variable editor on RITM.

 

Hope this helps.

This may work for me. For some reason "Applies on target record" disappears when the form loads. Would you know why?

 

 

@Thomas98 Navigate to your Catalog UI Policy and in the form context menu choose configure.

Screenshot 2023-08-21 at 9.14.50 PM.png

Check if there is any UI Policy or client script defined to hide this field on the form on your instance. 

Basically this was it. Thank you. I think its OOB client script. Turned it off , set my policty to true, then turned on the client script again,. 

Do you know why its there?