Attachment Variable on Record Producer not working DescriptionAttachment Variable on Record Producer not working.Steps to Reproduce In an affected instance: Open the Record ProducerAttach an attachmentSubmit the caseWait 10 seconds and refresh the My Request page on the portal – Error messages appear.Go to the case: No attachment was copied over into the field 'File attachment' in the 'Request Information' section WorkaroundNavigate to the script action “delete unreferenced attachments” (/sysevent_script_action.do?sys_id=453927d7c740101046e7dc8703c26082) and add/modify the lines highlighted text from the above image. Theoretically the workaround for the issue is to return from the script if the record with the given targetTableName and targetTableId is not accessible from the script. This problem has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.Related Problem: PRB1507679