Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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?