I want to be able to update the assigned resource of a task by dragging it from one resource to another.
Then by capturing the "ActionComplete" event and checking for (args.requestType == "recordUpdate")
By doing this I can access the task id property by doing args.data.taskId, which is what I need to fulfil my requirement.
This works, unless the same task is assigned to multiple employees.
If a task is assigned to multiple employees, only the first instance of the task will return the taskId, whereas any other instances of the same task
will return undefined when attempting to access the args.data.taskId property.
As you can see from the image in the attached file, the same task is assigned to the first and the third resource.
If I attempt to drag the first task to the second row it will provide me with the taskId and I can perform my update logic correctly.
However if I drag the task from the third resource to the second row the args.data.taskId property will be undefined.
As a side not to this, is it also possible to have it so all instances of the same task assigned to multiple employees displays the full task name.
Currently only the first instance of the task will have the task name displays, as you can see from the attached image as well.
Thanks a lot for any help