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

Issue using Command Line DAM Workflow

Avatar

Avatar
Level 1
meb31677641
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
meb31677641
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
meb31677641
Level 1

20-11-2017

I like to execute a command line programm as a DAM workflow. I tried to implement the ImageMagic example from here: Best Practices for Configuring ImageMagick :

I addded a new Workflow Model,

added "command line" from the "DAM Workflow" list.

In the Argument tab set Mime type to "image/jpeg" (even tried wihtout Mime type)

and in Commands: `"C:\Program Files\ImageMagick-7.0.7-Q16\magick.exe" convert ${file} -flip ${file}-flipped.jpg` (instead of `magick convet ...` because in another discussion using an absolute path instead of global name helped people Re: CommmandLineProcess : ImageMagick)

I then added a luncher. And uploaded an Image to the DAM.
In the workflow > instances overview, i see that the workflow was started, it's running and the command line job is set to active.

Unfortunantly this state is never chnaged and no new asset is generated via imageMagic.
I even tried replacing the command with something simple like "ren C:\test\foo.txt bar.txt" which renames a local file. The chnage never happend either.

My question is what am i doing wrong, and how can i debug / find the command outputs? in \crx-quickstart\logs i couldn't find any logs regarding CommandLineProcess.

Thanx

1352933_pastedImage_1.png

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

20-11-2017

Did you follow all the instructions here -- Best Practices for Configuring ImageMagick

Avatar

Avatar
Level 1
meb31677641
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
meb31677641
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
meb31677641
Level 1

21-11-2017

i tried, but dind't had the same options to pick from, e.g I couldn't find the "Web enabled rendition" step. I uploaded a screen shot. (i'm using AEM 6.1 and 6.2)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

21-11-2017

So in your experience - the documentation does not line up with AEM version you are using?

Avatar

Avatar
Level 1
meb31677641
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
meb31677641
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
meb31677641
Level 1

21-11-2017

i would say yes. (or maybe i'm doing it wrong).

for example i can't find a "Web enabled rendition" step,

or the Command Line DAM Workflow has an "Arguments" tab and not a text field wih that name like the "FFmpeg transcoding" step has.

1354809_pastedImage_0.png

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

21-11-2017

You should be able to follow the documentation to perform this use case. We are asking the team to look here.

Avatar

Avatar
Level 1
bhawnas75681924
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
bhawnas75681924
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
bhawnas75681924
Level 1

24-11-2017

Hi meb31677641 ,

I tried replicating steps on AEM 6.2, and could find "Web Enabled Image" tab in the "command line workflow step".

There's no workflow step with this name, only a tab within command line workflow step.

Can you please elaborate more on your AEM setup (Any SP and cfp installed on the vanilla instance)? Also, share the "command line" command you are using to generate rendition.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

08-12-2017

Just heard back from the team - they replied:

The docs have been verified and the steps simplified independent of the customer issue. Here are the publish links:

https://helpx.adobe.com/experience-manager/6-2/assets/using/best-practices-for-imagemagick.html

https://helpx.adobe.com/experience-manager/6-3/assets/using/best-practices-for-imagemagick.html