There is currently no criminal sealing or expungement laws in Ny. However, there are bills currently proposed to the state legislature that if passed could result in sealing/expungement becoming a reality. Watch the news in the coming months and if it passes contact a criminal defense lawyer.
At the present time there is no vehicle to have a criminal record sealed unless u were given youthful offender treatment. There has been some discussion about changing the law. Good luck.
This answer is only for informational purposes and is not meant as legal advice.
The time to work out those conditions were prior to your pleading guilty. There are circumstances where your attorney can work out what's called a conditional plea, where the result gets better after you complete certain conditions. It is not available in every case and there is no way to know if your attorney could have gotten this or even tried to get it. However there is no way to negotiate this after the fact. Unfortunately, as other attorneys have stated, there is not expungement statute in NY but even if one is passed, it typically requires having stayed out of trouble for a period of time (I.e., ten years in New Jersey) before you can apply.
I am a former Brooklyn Criminal Court Deputy Bureau Chief with over 17 years experience specializing in handling criminal cases. All answers are for information purposes only. Answering this question or any future questions does not form any attorney-client relationship. Be mindful, that answers are limited by the limited facts presented by the questioner and are not meant to take the place of competent legal advice by an attorney fully informed of all the facts surrounding your case. Also, be aware that nothing posted in a public forum such as this can be deemed confidential or privileged communication.