Expand my Community achievements bar.

SOLVED

DAM Update Asset Workflow

Avatar

Level 1

I have modified the DAM Update Asset Workflow  and now we have a situation where the workflow stops in between and hence the asset is no longer part of the workflow. Now I have written a code to start the workflow if the asset is not in the workflow. 

Now my question is, how do we check if the asset is a part of the workflow or not. I will start the workflow only if the asset is not a part of the workflow. Please help me with the java code.

 

                //Check if asset is not in WorkFlow ---  1
                {
                  //start the workflow
                   invokeWorkFlow(WORKFLOWPATH,assetMetadatPath,workflowSession);
                   
                }else{
                        //do nothing

                }

My question is for point 1.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi there,

Thanks for reaching out to Adobe Community.

Please go through the below links to see if they help:

http://www.wemblog.com/2012/09/how-to-put-dam-asset-back-to-workflow.html

https://helpx.adobe.com/experience-manager/using/damhandler.html

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi there,

Thanks for reaching out to Adobe Community.

Please go through the below links to see if they help:

http://www.wemblog.com/2012/09/how-to-put-dam-asset-back-to-workflow.html

https://helpx.adobe.com/experience-manager/using/damhandler.html

Thanks!