Salary calculation with pf deduction

I have created PF in salary components with the following detail:

Name : Basic Salary
Abbr : BS
Type : Earning

Name : House Rent Allowance
Abbr : HRA_1
Type : Earning

Name : Employee Provident Fund
Abbr : EPF
Type : Deduction
Condition : (BS+CA+HRA_1)>21100
Formula : BS*.12

is this right process?
Because when I’m going to apply these components in salary structure it is not calculating salary as I want. It can be seen in following image:

Here in deduction EPF amount would be 1411.2 but it is showing as 0.

What I’m doing wrong in it?