Sentence:  Whatever his original <WSD>assignment</WSD> , the fictional private eye ends up by investigating and solving a crime , usually a murder . 
Meaning of the word marked with <WSD> tags:  a duty that you are assigned to perform (especially in the armed forces)