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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Run Shell script in classic

santanub4981128
Level 2
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
ramon_bisswanger
Correct answer by
Employee
Employee

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
ramon_bisswanger
Correct answer by
Employee
Employee

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

santanub4981128
Level 2
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?

annief54377039
Level 2
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?

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