Run Shell script in classic

santanub4981128

19-07-2019

Hi,

I am using Adobe campaign classic v 7.0. I observed there is no activity to execute shell script which was available in v 6.0.

Do you have any alternative method or activity in v7.0 to execute shell script?

I want to add header and trailer to output file using shell script.

Thanks for your support!!

Thanks,

Santanu

Accepted Solutions (1)

Accepted Solutions (1)

ramon_bisswange

Employee

19-07-2019

Two options:

If you have a workflow from v6 with script activity inside, just open and copy the activity.

Use JavaScript activity and trigger a command:

execCommand

Answers (2)

Answers (2)

annief54377039

06-08-2019

Can you let me know if using Shell script from v6 is a recommended approach?? Will the script be working fine for automated workflow?

santanub4981128

19-07-2019

Thanks ramon. It's working for me.

I added Header to txt file but I want to add trailer in the file and that would be very last line of the file.

What shell script should I use?