Hiding a variable on the request form but adding it to the catalog task

Laura12
Tera Contributor

We have a form that will create a catalog task after a first approval.  I'm using flow designer and in that catalog task, I want to add a catalog variable so that a member of that assignment group has to enter a value in that variable before closing the task.

 

I've added the variable to the catalog item; however, I also don't want it to show up when the user completes the form because the field is unrelated to the items on the form.  I only want to be able to add it to the catalog task.  Is there a way to do this?  I've tried a UI policy/action on the form where visible = false and the form is fine but when I added it to the catalog task, it was not visible.

1 ACCEPTED SOLUTION

Hello @Laura12 ,

Instead of applying on catalog task , apply it on catalog item view and requested item . And make field visible false. Its working on my PDI.

RohiniSSane_0-1709138031825.png

 

Please Mark Helpful.

 

Regards,

Rohini Sane

View solution in original post

10 REPLIES 10

Hi Laura,

 

Can you please share the screenshot of your UI policy along with the Ui policy action

Screenshots are attached

So, I did just get the variable on the catalog task - I hadn't saved/activated my flow.  

 

However, like I said earlier, the variable is still visible on the main form.

Hello @Laura12 ,

Instead of applying on catalog task , apply it on catalog item view and requested item . And make field visible false. Its working on my PDI.

RohiniSSane_0-1709138031825.png

 

Please Mark Helpful.

 

Regards,

Rohini Sane

Rohini,

 

That worked!!  One last question, can I make that field mandatory on the task?  I made mandatory=true but it's not making it mandatory on the task.