BZ-1120213 - Changes in kie-api (TaskService methods)

(cherry picked from commit e099ce93876dcc9f2ecfc897fcc172d7a5733de3)