I want to copy the attachments from catalog form to incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 06:18 AM
Hello,
I am trying the scenario that whenever the attachment is attached on the catalog form and the user has selected incident in the dropdown option in one of the fields in catalog form, then I will check from attachment table which is the latest attachment attached to sc_cart_item and then copy it.
Script for reference:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 06:44 AM
Olá @mansigoel,
and where is this script - is it a BR or what it is?
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 06:57 AM
This is written in Script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 07:07 AM - edited 07-02-2025 07:15 AM
and how is the script include called?
Wouldn't it be easier to achieve this by a business rule or a flow maybe?
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 07:13 AM
how can we achieve using BR?