How to add attachment on the HR case using catalog attachment variable type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2023 06:00 AM - edited ‎09-12-2023 06:53 AM
Hi,
Hope you are doing well.
I have an 'attachment' type variable in my record producer. When the user uploads any attachment, I want the attachment to get saved in the record created. But instead, it is hiding it.
I can see the entry created in sys_attachment but not on case,
How can I remove ZZ_YY before copying. I written this business rule
Async - insert. it's not working. can you help?
If I remove this zz_yy from sys_attachment manually from the table then it's adding the attachment on the case.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2025 08:36 PM
According to the whole conversion. I think this is the final working script. So have you added this script in the script section of the RP or used as a BR. If used as a BR what's the "when to run" condition you have used". Can you please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 05:54 AM
Hi @Ankur Bawiskar,
Thank you for the post about removing ZZ_YY prefix from the attachment name.
I have tired this for one of the requirement for attachment variable in catalog item.
The solution is working whenever we attach/upload one file for attachment variable. But, it's not working whenever we replace the attachment with another one it's not working. I mean the first attachment is getting updated in request instead of second/latest attachment.
Can you help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 05:56 AM
can you post a new question for this and tag me there?
share all the details, screenshots script etc there
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 05:56 AM
Sure @Ankur Bawiskar
