Depends on what chemical it is.
Back in the old days, Kodak published a nice formulary that includes chemistry to clean trays and tanks. Those may be useful to you.
If there's residue stuck in hoses (I am not familiar with your equipment), I recommend you to replace them. I am in the process of overhauling a Thermaphot ACP-505 and, as suggested by the manufacturer, I am replacing all hoses, which have dried considerably. Plus, hoses are cheap!
Cheers,
Flavio