Display variables on catalog task dynamically

PuneethaS
Tera Contributor

Hi Everyone,

 Here is my requirement. I have a list collector field (application).There are 30 applications and i display 2 variables application_name and roles required for each application using UI policies.

I have created 30 UI policies that applies on catalog item view and applies on catalog tasks.

 

Im using a for each loop in my flow designer to loop through the values and create parallel tasks for each of the selections made. it all works fine until now.

 

The issue is i have is in displaying variables on the 'Catalog task' variable editor. 

 

when a catalog task is created for one application has all the applications selected from List Collector and the corresponding variables for all the applications instead of the specific one. I need the catalog task 1 to have 

Application 1

variable_1 for application 1

variable_2 for application 1 

 

catalog task 2 to have :

application 2

variable_1 for application 2

variable_2 for application 2

 

and i need them all on the variable editor as rest of my code works that way. How do i acheive this?

1 REPLY 1

Karunakaran
Giga Guru

Hi @PuneethaS , 

Deligated requirement. Create Variable sets per application. In your case 30. Example: one variable set with 2 variables.

Based on the application set the visibility of variables in one catalog ui policy.
Hope this works.

 

Thanks.