Sensitivity list in task

In reply to jianfeng.he:

My 2nd code example shows exactly this behavior. Where is the problem?