Dynamically Show Variables on Catalog Task Based on Value from Fields on Request Form

Nick Peters
Tera Guru

We have a request item called Application Access which allows customers to select an application that they need from a reference field. Depending on which application they've chosen, different fields will appear on the form. Needless to say, there are many different fields that could appear. Throughout the workflow, catalog tasks are created and assigned to certain teams. Currently, we have to show every applicable field on these catalog tasks that could be used on the form. Most of them aren't however, which causes us to have to display way too much information to a team that may only need to see 1 or 2 fields.

Is there a way to only show fields on a catalog task that were visible on the form at the time it was submitted? Or is there some other method that could accomplish this?

We have Catalog UI Policies that are showing/hiding fields based on the application that is selected. On those UI Policies, all 3 of the "Applies on..." options are checked as well as the "Reverse if false" option. I'm not sure how this really affects the generated task however, since you can specify the variables shown by on the Catalog Task workflow activity by using the 'task_variables' list collector. I have tried leaving this LC empty to see if the UI Policies would show any fields, but the Item Variables section on the generated task is empty.

I'm probably misunderstanding something here, so any help would be greatly appreciated. Let me know if you need any more information.

1 ACCEPTED SOLUTION

You know what I just discovered... some of our UI Policies do not have all 3 of the "Applies on..." boxes checked... All of the ones that I had been working with happened to have these boxes checked, but I'm now noticing that this is not the case across all of them. I believe this may be causing the issue.


View solution in original post

3 REPLIES 3

Natsufab3
Kilo Guru

Hi Nick,


                    Do you mean you want to show the values for variables that were selected or entered? if so you can configure your form layout on task table and get in the "variable editor" from available list and you can make this editor read only by applying ACL's on them.



Thank you


Please mark Correct/Helpful if it is applicable.


The Variable Editor is already being shown on catalog tasks. The problem is that we have to show all variables in this section that could be shown on the form. In reality, we only want the fields related to the chosen application to be shown in here. Sorry for being unclear on that.


You know what I just discovered... some of our UI Policies do not have all 3 of the "Applies on..." boxes checked... All of the ones that I had been working with happened to have these boxes checked, but I'm now noticing that this is not the case across all of them. I believe this may be causing the issue.