What can we do to prevent soap clumping in septic We have two septic tanks at an apartment building. one is for the toilets and the other is for washing machine sink etc?

If you live in an apartment building, the proper functioning of the sewage systems is the responsibility of the landlord. Report the problem to the landlord and let him/her sort it out, that is what you pay your rent for!