Can a script or workflow remove attachments from M...
# ask-stanley-ai
a
Can a script or workflow remove attachments from Message records?
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it appears that there is no standard functionality in NetSuite that allows for the removal of attachments from Message records through a script or workflow. In the first thread, a user inquires about removing the [Attach] button from the Communication Tab on various records. The responses suggest that while there are some workarounds, such as using jQuery to hide the button, these solutions are not universally applicable to all record types. In the second thread, a user asks about removing a file from a transaction with a workflow. The responses indicate that workflows do not allow access to sublists or other records, which presumably includes file attachments. It is suggested that a custom workflow script action might be needed to achieve this, but no definitive solution is provided. In the third thread, a user asks about sending an email via a workflow Send Email action without attaching the email to the record. The responses suggest that the Send Email action always attaches the email to the record, except for Statements. It is suggested that a Workflow script might be used to send the email without attaching it to the record, but again, no definitive solution is provided. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838849306
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838373959
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837084889
Please provide your feedback on this answer.