When we upload an Asset, the OOTB DAM Update Asset workflow gets triggered automatically. But, i need to trigger my custom workflow instead of the OOTB workflow. Which paths/js files do i have to update to get the required results? Thanks!
Disable the existing DAM Update Asset workflow and add use your custom workflow.
NOTE: On disabling the exiting OOTB workflow you are totally making it applicable throughout your AEM instance. Make sure you custom workflow handles that smartly.