i am currently trying to create and and start Activites in Automation Studio and i am stuck at performing File Transfer activities. i made sure to preform a series of Data Extracts so that the files can be stored in safehouse and while i can run a data extract using automation studio the SSJS code gaves me a status error. and Salesforce Support Error stated that the filetransferActivityID: xxxxxxx was not found even though it matches the exact one found on the File transfer activity itself. current code below:
<script runat="server">
Platform.Load("Core","1");
var api = new Script.Util.WSProxy();
try {
var action = "start";
var properties = {
ObjectID: "xxxxxxx" // replace with your file transfer activity's ObjectID
};
var options = {};
var result = api.performItem("FileTransferActivity", properties, action, options);
Write(Stringify(result));
} catch(error) {
Write(Stringify(error));
}
</script>
Is there any particular reason why the script does not work?