Expand my Community achievements bar.

SOLVED

Run Shell script in classic

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 2

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?

Avatar

Level 2

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

Avatar

Level 2
I've been using it on v7 without any issues so far.