Issue with hiding a variable on the SP and showing on Tasks

Daniel Brown2
Tera Contributor

I am attempting to use UI Policies to hide certain Catalog Item Variables in the Service Portal Form, and then show these same fields later in the generated sc_task.  For example, I have a UI Policy which hides three variables in the Service Portal, and another UI Policy which shows these same variables and sets them to Mandatory.  For some reason, one of these variables does not show in the sc_task form, even though the other two do appear.  These variables are configured only in the two UI Policies, and nowhere else, as far as I can tell.

How do I get this variable to show where I need it?

7 REPLIES 7

Daniel Brown2
Tera Contributor

Here are the two policies I'm using.  The requirement is that these fields shown as actions should not be visible at all in the Service Portal, but they should all be visible on Tasks.  Additionally, some need to be required at the Task level.

STRY0010697 - Hide Policy.jpg

STRY0010697 - Show Policy.jpg

  

Make sure the variables are included when creating the task, if you're using Flow designer, it should look something like this:
add-catalog-variables-to-catalog-task.png

Rosworth
Tera Contributor

Check your workflow catalog task variables. Make sure they are included.