Expand my Community achievements bar.

SOLVED

No Filecollector activity in ACS

Avatar

Level 2

Hi Team,

I haven't found file collector activity in ACS, Then How can move a file on SFTP from one folder to another via technical workflow?

Below scenario i am trying to achieve,

Using file transfer i will pick the file from SFTP server, Then i need to move the processed file into separate folder (ex Archive folder in sftp path)

Please advise on the same.

Thanks,

Sakthi Kumar

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

as said there is no such option available. The "Upload file" will take whatever is provided within the workflow transition.

Though as said:

* Use "download files" and specify "file present on Adobe Campaign server"

* This will fetch the file and store it in the temporary folder belonging to the current workflow instance

* In addition, it will be attached to the current transition

* Thus, adding a new "Upload file" afterwards will take that file and send it to SFTP/S3 destination

The only thing to take care of that the data in the transition is not getting overwritten.

i.e. if you have "Load File", it will have the line records in the transition.

Thus in my example above the Fork + AND-Join as by this the file pointer can be kept in the transitions

View solution in original post

10 Replies

Avatar

Employee Advisor

Hi,

for that use case you would have to use the Transfer File activity.

Adobe Campaign Help | Transfer file

This will connect to the SFTP server, download the file locally to Campaign server.

You then can choose "Delete file after transfer" to have it removed from source directory

Then you can process it and use another Transfer File activity to put it back to the SFTP server.

Avatar

Level 2

Hi Ramon,

Thanks for your response, But if I use file transfer activity to upload the sftp path its not showing the below option.

“ File(s) present on the Adobe Campaign server”

Then how can I upload the processed file into different path.

Thanks,

Sakthi Kumar G

Avatar

Level 2

Hi Ramon,

Thanks for your response, But if I use file transfer activity to upload the sftp path its not showing the below option.

“ File(s) present on the Adobe Campaign server”

Then how can I upload the processed file into different path. Please find the below screenshot for the same.

1696735_pastedImage_0.png

Avatar

Employee Advisor

The file would be taken from the transition.

So if you have a local file you would have to:

  • Use a transfer file activity with Download File and "Files present in Campaign server"
  • Then that would be available in the workflow for processing
  • If you then add another transfer file activity with Upload file you should be able to send the file somewhere

Avatar

Level 2

Hi Ramon,

I have tried the same but no luck, Please find the below WF screenshot

1696929_pastedImage_0.png

In the first activity i am downloading file from sftp using option "Files present in Campaign server", Then loading file with proper datatype and again tried to upload the processed file to another path via transfer file activity.

But no option found "Files present in Campaign server" whenever choosing file upload.

Avatar

Employee Advisor

Hi Sakthi,

the "Load file" will change the targeting dimension so the file reference will be lost before the "Transfer file 3" activity.

What you have to do:

  • Add a fork
  • In the load file, ensure that the "delete after processing" is not enabled
  • In the AND-join, select the Fork as a primary set
  • Then the Transfer file 3 should receive a file pointer as an input and be able to upload the file again

Screenshot 2019-02-22 at 14.17.22.png

Avatar

Level 2

Hi Ramon,

Followed the same, But getting an error in second file transfer activity

1696899_pastedImage_0.png

Can you please open the share screenshot of protocol specification of transfer file 2 activity of your workflow.

Avatar

Employee Advisor

Can you maybe post the error message?

Avatar

Level 2

Hi Ramon,

I am not trying with external account, For download/upload i am using this "File(s) present on the Adobe Campaign server". My question for file transfer download option above option is visible, But the same is not visible while doing file upload.

Can you please advise which option i need to use for uploading file in Adobe campaign sftp server.

Thanks,

Sakthi Kumar

Avatar

Correct answer by
Employee Advisor

Hi,

as said there is no such option available. The "Upload file" will take whatever is provided within the workflow transition.

Though as said:

* Use "download files" and specify "file present on Adobe Campaign server"

* This will fetch the file and store it in the temporary folder belonging to the current workflow instance

* In addition, it will be attached to the current transition

* Thus, adding a new "Upload file" afterwards will take that file and send it to SFTP/S3 destination

The only thing to take care of that the data in the transition is not getting overwritten.

i.e. if you have "Load File", it will have the line records in the transition.

Thus in my example above the Fork + AND-Join as by this the file pointer can be kept in the transitions