Skip to content


Running a sap with WinSCP scripting in a run script task from the run map task of another map.

Derek Barrow asked 4 years ago
We import purchase orders from Sales Force into GP. We also want to export the purchase order to a .csv and send it to an FTP site. We have a run map task set up on the GP import map to run the .csv export map for each successful document. We are using the WinSCP assembly to upload the .csv’s. Both maps run fine when scheduled individually but when the .csv upload map is run from the run map task of the first integration, it fails with: Exception has been thrown by the target of an invocation.
We made sure that WinSCP.dll is in the correct folders. Would running the map from the run map task require something different from running the map from a schedule?

If you would like to submit an answer or comment, please sign in to the eOne portal.