Catalog UI policy not working on Service Portal

Sam Ogden
Tera Guru

Hi All,

On a record producer on our service portal I have created a couple of UI policies to make a couple of labels above groups of checkboxes.   Both of these are working when I use the 'try it' option in the normal SN UI.   When I try it on the Service portal one of these is working, the other is not.

Working UI policy

find_real_file.png

find_real_file.png

find_real_file.png

Using 'try it' function

find_real_file.png

find_real_file.png

find_real_file.png

Then allows submission as expected

On Service Portal

find_real_file.png

find_real_file.png

find_real_file.png

Then allows submission as expected.

The UI policy that is not working:

Working fine in normal ui:

find_real_file.png

find_real_file.png

find_real_file.png

Then allows submission as expected

On Service Portal

find_real_file.png

This allows submission even though both 'Has the document(s) failed to generate?' & 'Have you provided example documents?' are both false.

Any suggestions on why the logic is working on the 'try it' button but not working on the service portal?

Thanks

sam

21 REPLIES 21

We are on Helsinki patch 12


Try the same logic in client script and see what happens.


Regards
Harish

Hi Harishkumar,



I'm only new to scripting and not too sure how to convert the conditions into a script, do you have any example?



Thanks



Sam


so your requirement is like u have check boxes defined and atleast one check box shud b marked true?


Regards
Harish

Hi Harishkumar,



The check box 'Have you provided example documents' only appears when:



'What is the incident related to' = Policy documentation and


one of the following checkboxes is true;


  • certificate
  • covernote
  • schedule
  • proposal form
  • statement of face
  • key facts
  • protected ncd
  • renewal notice.

and 'Has the documents(s) failed to generate = is not true.


find_real_file.png



We then have the label 'Document Options'.   We require for either 'Has the document(s) failed to generate?' or 'Have you provided example documents?' to be selected. Current Condition was set as:



find_real_file.png


find_real_file.png