For more detailed logging, I want to retrieve the [System::TaskName]
Right now, when starting from the task that fails we go to ‘script task’, there I fetch [System::TaskName] and write that in the log. Logically this writes the current TaskName = ‘Script task’ instead of the failed task

Problem is the System::TaskName is only know inside the task, logical…
In fact I want to update a variable ‘User::CurrentTaskName’ from inside the dataflow, = from inside the task.
This would be easiest if I could use a ‘Script Task’ component inside a dataflow but I can’t find that.
Probably I need a workaround.
Hope you guys understand approximately what I mean…
Thanks in advance!
I was able to access the TaskName by adding the following inside a Script Component.
and then accessing the variable like so