That error message is telling you that `taskType` ...
# suitescript
e
That error message is telling you that
taskType
is undefined