Need to copy attachment from Incident to order guide before submission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 03:38 AM
I have a requirement to create ATF for one order guide but it is expecting mandatory attachment. I am trying to have that automated via run server side script like below.
GlideSysAttachment.copy(source_table_name, source_record_sysid, target_table_name, target_record_sysid);
I can see manually attachment is saving in sys_attachment table and has field table_sys_id . Now i need to copy via some attachment to the order guide so that i can bypass the mandatory attachment validation.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 11:25 PM
You can try using the below test step for adding the attachment:
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
*************************************************************************************************************
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel