My requirement is to create a new task and assign it to an existing process. I looked around in api to find such api but could not find it. Wondering if there is a way to do this.
You can create a standalone task and reference it from an existing process with a process variable, so in a very loosely coupled way. It's also possible to create a sub task and add it to a user task in an existing process.