Hello Ganesh,
Welcome to Mendix! You will want to look into our new Workflows functionality, which is currently in public beta, and more specifically user assignment on user tasks. We have a system that allows you to use xpath queries or microflows to retrieve a specific set of users that can execute on given tasks. If you would like to continue using your high-code solution, you could use our Mendix Java API and make those rules from the legacy module available in microflows.
A couple of different ways to go about it. I would personally recommend to have a look at xpath queries first, and look into microflows and the Java API when you hit a roadblock there.
Good luck, hope this helps.
Jef