Skip to main content
Nintex Community Menu Bar

Adding Attachments to an email using exchange online smartobject

  • February 7, 2020
  • 1 reply
  • 6 views
  • Translate

Hi All,

 

I am using the Exchange Online Service SmartObject to create and email and then send it on behalf of someone. I need to add attachments to the email from a SharePoint list. I've added the Attachment SmartObject in the workflow and it is asking for the ID and Attachment File. I added the EmailID to the ID field and then loaded the file information from reference I made from a list lookup with the files. I continually get the error Object of type 'System.Object[]' cannot be converted to type 'System.String'. Anyone have any thoughts or workarounds on this?

 

Thanks,

Ben

Did this topic help you find an answer to your question?

Hello  @bhickok2, 


 


It sounds like the issue is with what is being passing into Attachment File field for that SmartObject. It sounds like you might be directly passing the reference to the file from the context broswer. You might try expanding the reference for the file in the Context Browser and passing the File Name property into the the Attachment File field since it is expecting a 'System.String' type. 


 


Regards, 
Samuel 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings