How to Display fields on basis of catalog task

puneetgoels1
Tera Guru

In my workflow, there are around 20 catalog tasks and there are 100 fields all together. I need to display selective fields on the basis of catalog task e.g. task 1 show 5 fields and hide others, task 2 show 10 fields and hide others and like wise.

How can it be achieved efficiently?

1 ACCEPTED SOLUTION

puneetgoels1
Tera Guru

Correct Answer: Catalog UI Policy or UI policy do not work on the conditions on short description of task. It works only for catalog item variables and short description like fields be it at request item level or catalog task level in scoped application.



So the way to achieve it is write a UI policy at global level, put a condition for the catalog item and use the script to implement it


View solution in original post

40 REPLIES 40

Or you can try UI policy too..even though u need to write multiple but that might work.


Even though I applied condition, it gives me this error



There are multiple UI Policies with the same Order for this field - their run order is not predictable: Display on Task C, Display on Task D



If I apply order than irrespective of condition, it shows the last ui policy


on Create ID short description create Id, I made region visible


find_real_file.png


on Create ID short description monitor progress, I made vpc visible



find_real_file.png




But it shows vpc visible on both the cases and It is not making field readonly as well


find_real_file.png



Let me know if I am missing something


You need to change the order of UI Policy..By default it is   for all


find_real_file.png



Here you need to update the order. The reason is for same field you are creating the UI policy Action, But the order is same here so the system is confused which one should run first. Thats the reason you need to change the order of UI policy.


But if the conditions are different, should not it be executed on that. Or priority is given on the order and then condition is checked,



Anyhow even after making the change, I am still getting errors like these



ReadOnly true not set on field u_bapp_id: cross-scope access denied.