Unable to perform attach file to reply email O365 activity as it only accepts type as IEnumerable(IResource) and i have filepath as string
Please us this syntax in assign activity
attachments = New List(Of IResource) From {New FileResource(“C:\Temp\report.pdf”)}
Kindly mark it as solution if it helps
It didn’t worked…I used Path Exists activity and assigned output to iresource vaiable and passed it as {IResource variable} to attachments input to Reply EMail..It worked..Thanks for the help
Look below thread, you can follow steps what they did in thread
If you find it helpful, mark it as solution to close this topic!!
Happy Automation!!
- You can use path exists get output and enclose in flower brackets
- second way use
{LocalResource.FromPath("FilePath")}
both would work
cheers