The test is typically requested when a patient presents with symptoms suggestive of TB or other mycobacterial infections affecting the pancreas, such as abdominal pain, nausea, vomiting, diarrhea, and fever. The test may also be ordered if the patient has a history of TB or exposure to someone with TB.