To work without attachment is to work without the expectation of reward or fear of any punishment in this world or the next. Work so done is a means to the end and God is the end.
In Torch Song I did that character almost non-stop from 1978 until I made the movie in 1987. Then I had some failure which also colors how you react to doing other things.