Catalog item

Shivani_singh
Tera Contributor

Hello
There are 4-5 checkbox variable which are autonomically coming when the request is submitted, but those values are not present when the request is submitted.
I tried making them hidden by default while adding a default On-load Ui policy, but still its coming.
Have attached the screenshot, those value which are false those variables should not come.

16 REPLIES 16

Hi @Shivani_singh 

 

As you defined the UI policy, you need to test step by step, if you go in one go then it difficult , add 1 by 1 check box and then test and move forward.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@Shivani_singh 

are you printing those variables in email body and the screenshot you gave is for the email body?

If yes then you need to use email script and ensure the checkboxes which are false are not printed in email body.

How to ignore the false variable value from the email script notification 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Shivani_singh 

Since those are checkboxes and if those are hidden during form submission then those will have false as value in them

where is this coming? On portal form?

UI policy or client script won't work on portal for Request form

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar 
Those value are hidden on the portal form, but still it's coming on Description.

@Shivani_singh 

are you using some script to populate in description field?

if yes then you need to tweak it.

Refer the link I shared for the same.

Please share the script here

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader