How to Remove Attachment from Add Record Approval email notification
                    
                
                
                    
                        book
                        
Article ID: KB0072591
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                
                
                    
                
                    
                    
                    
                    
                        
                            
Description
                        
                        
                            
We have a Record Edit Approval process for one of the Master Data application. After the approbation step in the workflow, an email is sent to the user who has created the record to notify that the record has been approved. We noticed that in the email, a file named "Attachement1.xml" is attached. We want to remove this attachment from the approved notification email.
                         
                     
                    
                    
                        
                        
                    
                    
                        
                            
                                
Resolution
                            
                            
                                
Whenever the protocol is SMTP and the InDocument parameter is specified, the corresponding document will be attached to the email. If we comment the InInDocument parameter in the workflow activity then the document is not attached in the email. We will have another issue with this approach if we use the dynamic field, where #filler# is not replaced with the field values because of Indocument absence.
To overcome this, add the following parameter in the "InternalApprovalAcceptEmail" activity in the workflow.
<Parameter direction="in" name="AttachDocument" type="boolean" eval="constant">false</Parameter>
After adding that we do not receive an attachment. The add filler is also replaced with respective values. 
                             
                         
                        
                    
                        
                            
                                
Issue/Introduction
                            
                            
                                Remove Attachment from Record Approval email notification
                            
                         
                        
                    
                        
                            
                                
Additional Information
                            
                            
                                TIB_cim_9.0.1_WorkflowReference.pdf
                            
                         
                        
                    
                    
                
                    
                        
                            Was this article helpful?
                        
                        
                            
                                thumb_up
                                Yes
                            
                            
                                thumb_down
                                No