"BC30451: 'currentItem' is not declared" inside For Each loop

Post a screenshot of your For Each activity and its properties as well as the activity that is generating the error.