how can i apply catalog ui policy on approval form ?

xavier19
Kilo Contributor

Hello,

We've build a Catalog using requested item and a lot of variables.

On the requested item form, i can display the famous "variable editor" and apply a lot of catalog ui policies as well.

That's great !

The problem is the approval form.... that's awful.

I hate the default ui macro that display information related to a requested item ("approval_summarizer_sc_req_item". )

This macro does only display text based on the list of variables related to the requested item

That's why i did inactived "approval_summarizer_sc_req_item".

In this way, the "approval_summarizer_default" is used to display the related   requested item form on the approval form.

And here comes the light, the variables are well displayed (like in the variable editor on the requested item.)

But... because there is a "but"...

The catalog ui policies can not be applied on a approval form.

(using advanced view, they can be applied on catalog task, requested item, and catalog item)

Any idea of a solution to use our existing catalog ui policies on the approal form ?

Thank you for your help.

Regards,

Xavier.

6 REPLIES 6

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Sadly,



I would say that for approval it is "normal" UI policies that applies. Not digged to deep into this, but I'm having a hard time seeing how you can get your catalog ui policies to hit outside the catalog so to speak.



//Göran


stephaniemccall
Giga Contributor

Hello, did you find a resolution for this. We have set up UI Policies for one of our large Catalog form and we are running into the same issue on the approval form.   It is awful!



Thank you in advance.


Hi Stephanie,



What is the UI policy you have in your catalog form? Is it hiding an empty field? You may modify the approval summarizer to hide fields which are blank or a field which is false.



Please mark this response as correct or helpful if it assisted you with your question.

Hi Sanjiv,



We have a catalog item called Physical Access.   This form is long so we broke it up into containers.   The UI policy is set to function on Catalog RITM and TASKS to display only the containers with options chosen by the user. (Basically to hide the container with all empty fields) This cleaned up the view for the fulfiller in the system on the RITM and TASK.     The approval form variables do not of course use this UI Policy.   We are needing to find a way to no display the containers with empty fields/variables on the approval form.




Screen shot below of the RITM/Task view. This part works great.   It is only displaying the containers with fields that have been populated.   We are looking to have this same functionality on the Approval variables.     Thank you in advance if you have any ideas for a solution.


find_real_file.png



Below screen shot is the same request but the approval form view of the variables.   as you can see the containers with all empty fields are displaying as well.



find_real_file.png