All - I would like to move my washing machine to another part of my basement where there is no connection to an under slab pipe running to the sump. Currently my washing machine drains into a utility sink that is connected to an underground pipe to the sump, which then pushes this to the sewer line about 5ft off the slab floor. I was planning on removing my utility sink and capping off the top of the under slab pipe. Its not in a good location.

I will be installing 2x4 walls along the basement walls and would like to drain the washing machine into a standpipe/trap configuration that then runs along my 2x4 wall and discharges into the sump system from the top of it. Is this typically ok to do?

Thanks for any help-advice....