An undercover detective assignment may last days, months or, in rare circumstances, years. The assignment may involve something as simple as tracking down a missing person. Conversely, it may be an intricate task that focuses on many people, diverse scenarios and a mixture of alleged criminal activity.