Skip to main content
Level 2
Jul 19, 2019 7:39 PM UTC
Solved

Run Shell script in classic

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
bisswangAccepted solution
Adobe Employee
Jul 19, 2019 9:19 PM UTC

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

4 replies

bisswangAdobe EmployeeAccepted solution
Adobe Employee
Jul 19, 2019 9:19 PM UTC

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

Translate
Level 2
Jul 20, 2019 12:05 AM UTC

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?

Translate
Level 2
Aug 6, 2019 7:24 AM UTC

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

Translate
Level 2
Jan 21, 2020 1:56 PM UTC
I've been using it on v7 without any issues so far.
Translate