Paul D.
Paul D.

Reputation: 181

How to get the counter variable value in for each scope in mule?

Is it possible to get the value for the 'counter' in the for each scope ? I can see the values when debugging, I just want to pass it so I would be able to use it for another flow.

Thanks!

Upvotes: 0

Views: 3332

Answers (2)

Paul D.
Paul D.

Reputation: 181

I am able to get it by using SessionVars inside the for each scope. thanks for the help

Upvotes: 0

Alex Fernandez
Alex Fernandez

Reputation: 1942

Have you tried, looking the variable via flowVars expression?

#[flowVars['counter']]

Upvotes: 1

Related Questions