CQ Workflow is not triggering for event type removed NT:File(delete dam asset) and event type modified NT:File(renaming DAM asset) | Community
Skip to main content
Level 3
October 16, 2015
Solved

CQ Workflow is not triggering for event type removed NT:File(delete dam asset) and event type modified NT:File(renaming DAM asset)

  • October 16, 2015
  • 3 replies
  • 2149 views

Requirement:

Whenever the DAM asset is uploaded into DAM, the asset will be copied into etc folder. This is applicable for all operation(Create/delete/update/rename). I have created single step worflow with process step which extends abstractassetprocess.

For Create and update operation, I have configured the workflow into laucher with eventtype set as created/modified - Working fine when asset is created, modified but it is not working for renaming asset

For delete operation,I have configured the workflow into laucher with eventtype set as removed. Workflow is not trigerred whenever asset is deleted. The error logs shows that Asset payload is null .

Please provide your valuable inputs  how to capture the delete/rename operation. I am using DAM Asset manager API...Thanks in advance !!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

remove-type launcher rules should support for nt:file & not seen any issue reported so far.  File a support case to investigate and as an workaround you can implement listeners.

3 replies

Level 3
October 16, 2015

Am using CQ 6 version

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

remove-type launcher rules should support for nt:file & not seen any issue reported so far.  File a support case to investigate and as an workaround you can implement listeners.

Level 3
October 16, 2015

Hi.

 

Thanks for your reply. It is working after setting nodetype as dam:Asset.

Can you please tell me how to read workflow config entry details(event type) ? I found some method getconfig  in workflow launcher class but i don.t know how to get workflowlauncher object from which one ?