I have a custom workflow for generating Image renditions. It should be triggered for image upload, image edit, image replace. Event Type for the launcher is Modified type. The workflow has a gatekeeper process in the beginning followed by custom workflow process.
On deleting an asset, getting error :
Caused by: com.day.cq.workflow.WorkflowException: execute: gatekeeping failed, asset [{/content/dam/demo/images/test2/image2.jpg}] in payload doesn't exist for workflow
I don't want the workflow to be triggered for deleting asset. There has to be some condition in the WF launcher to handle this issue.