- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 07:36 AM
Hi,
I am working on a Record producer and i need to make it mandatory when i have a question as Mandatory Can we do that?
I tried using Variable type attachment but unfortunately it is not working as per use case and ended up having multiple issues like we cannot add mulitple attachments.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 08:21 AM
So you want to make attachment mandatory on record producer during submission based on some other variable value?
OR
there is an attachment type variable and you want to make it mandatory?
If it's the first case then check my blog on mandatory attachments; enhance it for your requirement
If my blog helps please mark it helpful
Verify Mandatory Attachments Count on Catalog Item
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2023 04:57 AM
Hi Allen,
My requirement is there is a check box variable and attachment is mandatory only if the check box is checked(else error will pop up to add attachment) or else it should not ask for attachment.
this is not mandatory for the entire form .
can you help me how it can be done . if onsubmit can you help me with the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 08:21 AM
So you want to make attachment mandatory on record producer during submission based on some other variable value?
OR
there is an attachment type variable and you want to make it mandatory?
If it's the first case then check my blog on mandatory attachments; enhance it for your requirement
If my blog helps please mark it helpful
Verify Mandatory Attachments Count on Catalog Item
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 09:11 AM
I tried with Variable type but it did not worked since it is allowing only one attachment, which wont work for us.
So i am trying to make the OOTB Add attachment clip mandatory during submission on Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2024 11:08 AM
Hi Shaik,
Did you get this worked? I've similar requirement. I've to additionally make red * as well near by Add attachment.
Can you suggest on this.
Regards,
Arun