The getTaskId method gets the ID of the current task as a string.
getTaskId
getTaskId()
(strings) The ID of the current task.