Subtask and its form

Hi Team,
My problem: I create task using taskService in Listener and I want to set embedded form for this task. But I can not find how to do it. The task is created and displayed with generic form, there is only getter for formKey in taskService
Is it possible to set any form for a such tasks ?
Thank you in advance.