cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI - read local variable value from Groovy

former_member105769
Participant

Hi

Does anyone know how to access the value of local variables from within a Groovy script?
The problem is, I don't know the name of the variable I need to read, until runtime.

According to SAP Note 3014782, it is no longer possible to dynamically set the value of the variable name using Camel expressions. It seems you now have to hard-code the variable name who's value you want to retieve.

Regards

Steve

View Entire Topic
ab13
Participant
0 Kudos

Hello,

It seems this is already possible. Though the variable content can't seem to get displayed in the Variables section.

Anybody tried this recently ?

Thanks!