Hi @LalithyaReddy,
Once you resolve the owner of the rule using rule\script you can use the following logic to auto-approve the workitem
if (owner.equals(launcher)) {
item.setState(WorkItem.State.Finished);
System.out.println("The launcher and the approver are the same, launcher removed from approvers");
}