Hi shubham nagre,
This microflow will help your query,
You can do this with a single microflow activity:
why not just create a java action with this code.I think you have for everything sorted here.
Hope it helps!
creating a java action as Rishabh suggested is probably the quickest option. Otherwise you can do this as followed: