Rui
Rui

Reputation: 3667

Oozie > EL function > is it possible to add variable in EL functions

In a Oozie workflow, we can add variable ${VAR} and define the value of this ${var} in the properties file. But Is it possible to use such ${var} as input of EL function?

For instance, equalsIgnoreCases(${var}). It seems not, but if so I still feel Oozie is almost terrible. It is like a tool from over 20 years ago. So is there any workaround for this?

Upvotes: 0

Views: 555

Answers (1)

smb
smb

Reputation: 111

Not sure if this is still required but the expression you need to use is:

${equalsIgnoreCases(var)}

Thanks.

Upvotes: 2

Related Questions