Mandatory Attachment on Submit based on Catalog Item Variable

gnunez
Kilo Guru

Hello all,

I have a requirement to make an attachment mandatory on submit based on a catalog item variable.

The question is: Are you requesting to relocate more than one phone? (relocate_phone)

If yes: attachment is required

If no: attachment is not required

In the past when making an attachment mandatory in a catalog task I have used business rules or catalog client scripts but in this case I cannot figure it out.

Can anyone assist?

Thanks,

Grace

14 REPLIES 14

You can also try https://community.servicenow.com/community?id=community_question&sys_id=dd618729db98dbc01dcaf3231f961977

What if their are multiple options which require attachments 

sachin_namjoshi
Kilo Patron

If you are on madrid, then you don't need to write script to make attachment mandatory for catalog item.

This is available OOB with madrid.

 

find_real_file.png

 

https://docs.servicenow.com/bundle/madrid-it-service-management/page/product/service-catalog-managem...

 

Regards,

Sachin

We aren't on Madrid yet but good to know. Is this only for Service Portal?

 

this configuration works on service portal.

 

Regards,

Sachin