Multiple leave approval with condition

Hello everyone,
I need to set leave approval in the following scenario:

if a custom field called “leave_subtype” = “Inside country” then the approval should go to the direct manager and deduct from the balance
but if the custom field “leave_subtype” = “Outside country” then the approval should go to the direct manager (without balance deduction) then department lead (here the deduction happen)

I add it in the transition rule condition but didn’t work, please help!