conditonal scenario execution

Hi All,
i am trying to run Gatling simulation through script which i created, i have came across scenario where i need to pass some extra parameter as below
.formParam(“fundingSource”, “${fundingSource}”)
.formParam(“riderSetting”, “${riderSetting}”)
.formParam(“groupIndivType”, “${groupIndivType}”)

when ${productType} value is “01”

i tried to achieve like
1).doIf( “${productType}” , “01”) {
exec(
.formParam(“fundingSource”, “${fundingSource}”)
.formParam(“riderSetting”, “${riderSetting}”)
.formParam(“groupIndivType”, “${groupIndivType}”)
}

  1. .doIf("${productType}" => “${productType}” == “01”) {
    exec(
    .formParam(“fundingSource”, “${fundingSource}”)
    .formParam(“riderSetting”, “${riderSetting}”)
    .formParam(“groupIndivType”, “${groupIndivType}”)
    }

Both scenario ain’t working for me (.doIf is nt been recognised as a part of code)

can anyone please help on this ?

Thanks in advance

Akshay Paturkar
8125727619