Variables should be visible on particular catalog task

wefw
Tera Contributor

We have multiple variables on a catalog form, and we have additional variables in the catalog item, but some of these variables are currently hidden on the form. We would like these hidden variables to be visible only on specific tasks.

For example:

  • Task A, Task B, and Task C are the available catalog tasks.

  • There are four variables: form1, form2, form3, and form4.

Requirement:

  • form1 and form2 should be visible only on Task B, but not on Task A.

  • form3 and form4 should be visible only on Task C, but not on Task A or Task B.

In Flow designer we haven't brought the variables to Right slush bucket under create catalog task, but still they are visible on Sc Task

 

wefw_0-1743005065108.png

 

How can we achieve this behavior through flow designer ensuring that the visibility of these variables changes based on the selected task?

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@wefw 

unless you add them on right side those should not be shown on catalog task form.

whenever you create the catalog task move those required variables from left to right and only those will be seen

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur, i have moved only required one to right but still left bucket variables are also showing in catalog task

Brad Bowman
Kilo Patron
Kilo Patron

If you have checked the Global box on the variable definition, the variables will be visible on all Catalog Tasks, so you'll want to uncheck it in your case.

BradBowman_0-1743007339654.png

 

Hi Brad, it's already Global false