Using feeder variables

Hello, I’m quite new to Gatling so sorry if it is a simple problem
I’m using a feeder and so far everything works.
However, I would like to get some variables from my feeder to perform some other actions but I’m having trouble to do so.

Here is the trouble :

val scn = scenario(“testScenario”)
.feed(feeder)
.someactions()
.group(“grp of actions 3) {
//repeat(${nbSousFichiers}){
repeat(2){
//feed(csv(”${idExploit}.csv").queue)
feed(csv(“2574.csv”).queue)
.exec( otheractions…)

It works fine this way, but as you can see, I would like to replace the repeat and feed lines with the commented lines, meaning the variables I get from my feeder.
Is it possible to do so?

csv("${idExploit}.csv") is not possible.

You could use doSwitch but you need one branch per idExploit value.