Hi everybody,
I use feel-engine package in the 1.15.3 version from org.camunda.feel group and play around these guide Bootstrapping | FEEL-Scala and Java.
I evaluate/parse my feel expression by FeelEngine and I am impressed how easy is an evaluation of expressions. But here I met a challenge:
Simply feel expressions are provided by a user and names of used input variables could change as they refer to different data/fields from stored data.
Using Java, I need to extract these input variables names from a feel expression to know which data I should inject into them. I am wondering if there is an easy way to do that using classes from the feel-engine package. I tried to find any interesting method or api to get them but without success.
E.g. from the expression below
foo < 10 and boo in ("a", "b")
I would like to extract a list of 2 strings: foo, boo
Is this possible somehow?
Best,
Oskar