Hi @Nikita___Garg,
After reading through your above comment, besides the Groovy script, I suggest creating a workflow process step where you could perform the logic (preferably using query builder API).
In spite of a one-time action, you can also utilize this process step if you want to add/remov...