Having a listener on Task Store we noticed that the property "changes" has a different format.
If you just change a Task (Drag or Edit) the "Changes" property is an object containing all the fields that have been changed and are set like this : ie: startDate.value = xxxxx (sometime there 2 properties 'value' & 'oldValue'
When it comes to run the option "Add SubTask" then the "Changes" property is set like this : ie: isLeaf=false.
You can look at the screenshot.
Our issue is why the "Changes" property does not have the same format? Which makes the complicated, and we just realized that our process did not succeed just because in most of the case the format that we were expected is :
ie: FIELD.value = a value.
and not :
ie: FIELD = a value
Is this a Bug or do we have to deal with these 2 formats?