Hi All,
I am trying to use "delete assets" step in my custom WF in my AEMasCS instance but the functionality is not working. I have checked below step
1.Given all permission to WF user.
2.Cheked logs(No error)
3.workflow instance is successful.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @ShwetaDe
Confirm the process step uses the right implementation class if it’s custom, or the correct OOTB delete process.
You can add a log step or debugging to confirm the payload paths before the delete step.
Check if the workflow uses a service user mapping (system-user-mapping) and confirm that user has delete rights on the asset repository path.
If the workflow is triggered by events, verify if there’s any conflict with other workflows or event handlers that might prevent deletion.
Even if no errors appear, enable debug logs for workflow and asset management packages:
com.adobe.granite.workflow
com.day.cq.dam
Look for warnings or messages that might hint at failure to delete.
Hi @ShwetaDe
If the "Delete Asset" step in AEMaaCS is not deleting the asset even though the workflow completes successfully:
Add debug logs or a custom step if needed to verify AssetManager.deleteAsset() is triggered.
Hope this is helpful.
Regards,
Karishma.
Hi @ShwetaDe
Confirm the process step uses the right implementation class if it’s custom, or the correct OOTB delete process.
You can add a log step or debugging to confirm the payload paths before the delete step.
Check if the workflow uses a service user mapping (system-user-mapping) and confirm that user has delete rights on the asset repository path.
If the workflow is triggered by events, verify if there’s any conflict with other workflows or event handlers that might prevent deletion.
Even if no errors appear, enable debug logs for workflow and asset management packages:
com.adobe.granite.workflow
com.day.cq.dam
Look for warnings or messages that might hint at failure to delete.
Views
Likes
Replies