Function Reference > System variables > CurrentTaskName
  

CurrentTaskName

Returns the task name as a string value. Use CurrentTaskName with any function that accepts string datatypes. Also returns the mapping name in a mapping run.