I want to add a user task dynamically to the existing process
Refer the following link, you can achieve using task listner
https://community.alfresco.com/community/bpm/blog/2016/11/16/activiti-enterprise-developer-series-process-and-task-liste…