Attach a file to a defect by workflow
We have a very strange requirement. Is it possible to attach a file (stored in the shared drive) to a defect thru workflow? Any event is fine, either opening a new defect or changing a field, workflow must be triggered which can attach a file to the defect.
I tried this but did not work:
strPath = "D:\Test\test.txt"
Set objFSO = CreateObject("Scripting.FileSystemObject")
' Get the file from its destination
Thanks for the help.