We want to trigger a workflow (for custom requirement) on publish of an asset. Workflow launcher, we have option to launch a workflow an event created/modified/remove. But does not meet our specific requirement. Want to trigger workflow only when publish of an asset happens ?.
Thinking to handle this via Sling handler on property changed. Any thoughts here ?
Solved! Go to Solution.
Views
Replies
Total Likes
1. If you are planning to publishing first using Quick Publish as shown below and then you want trigger the custom workflow -
Then please refer approach as @Nitin_laad has suggested.
2. If you are planning to manage via Manage Publication as shown below -
Then you can follow @Bhuwan_B and @ManviSharma here.
@pradeepmoolemane Please check the below URL. Hope it helps you with your use case:
https://bimmisoi.blogspot.com/2020/07/aem-trigger-customized-workflow-on.html
@pradeepmoolemane You can achieve it using Launcher configuration -
1. Create a worflow using your custom step
2. Define a launcher and invoke it when condition --> "jcr:content/cq:lastReplicationAction==Activate" on /content/dam/test path and type=dam:Asset
You need to create a custom workflow, where get your work done and then publish the asset.
Please refer to [1]
[1] https://bimmisoi.blogspot.com/2020/07/aem-trigger-customized-workflow-on.html
1. If you are planning to publishing first using Quick Publish as shown below and then you want trigger the custom workflow -
Then please refer approach as @Nitin_laad has suggested.
2. If you are planning to manage via Manage Publication as shown below -
Then you can follow @Bhuwan_B and @ManviSharma here.
Hi @DEBAL_DAS @Nitin_laad @Bhuwan_B @ManviSharma thanks for your inputs. will try and come back. thanks
Views
Likes
Replies
Views
Likes
Replies