updateTask

I need help in getting updateTask service to update by task data (business data).

My business data structure is complex, i.e. it is organized as

ParentDoc
–ChildDoc1
----attribute1
----attribute2
–ChildDoc2
----attribute3
----attribute4
----attribute5
----attribute6
–ChildDoc3
----attribute7
----attribute8

I need to update data of some attributes. I have written a java service which extracts my ParentDoc from taskData document returned by getTask service.

when I pass same document to updateTask service, mapped in taskData input, the task’s document get cleared and does not return anything in getTask calls.

taskInfo, on the other hand, is updated correctly.