When I created a Task from "Phases & Tasks" in the Customization Settings.I have the liberty to to add Incident fields that go inside the Task. Example. Like this.
Inside the Task I can View the fields I have added in the task layout
However,When I add Task from script I am not able to do so.
task.addField() is not working.
------------------------------
Ragavendran Lakshminarasimhan
------------------------------