Copy the attachment from catalog item to SCTASK record when catalog item submitted from portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2024 07:42 PM
Use Case - When any request has been submitted from the portal with Attachment added, we need to add that attachment to the one of the SCTASK (RITM should have more than 1 SCTASKs) of that RITM. Also when the user attached the attachment after the request has been submitted, it also needs to be added over the same SCTASK.
How can i complete that requirement plz guide me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2024 08:42 PM
You can follow the steps I mentioned.
Here is the script if you need more guidance (see Anthony V's answer):
Solved: Re: Display parent attachments in sc_task - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2024 08:10 PM
Hi @MayurChaudhari ,
I am not asking to load the attachment for child ticket, you just need to create one relationship record in attachment table to make it visible on task. Attachments are stored in different table in sys attachment we just make relationships.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------