The test is typically requested when a patient is experiencing symptoms such as abdominal pain, fever, and weight loss, which may suggest a pancreatic infection. It may also be requested if a patient has a weakened immune system or is undergoing cancer treatment, as these factors increase the risk of developing a fungal infection.