Hello Oozie users,
I am just trying to do the following in one of my 
action<arg>${trim(wf:lastErrorNode()) == '' ? 'Job succeeded' : 
${wf:errorMessage(wf:lastErrorNode())}}</arg>oozie fails at this action 
reporting EL error.
I tried other options like<arg>${trim(wf:lastErrorNode()) == '' ? 'Job 
succeeded' : 'Job failed with error message '+ 
${wf:errorMessage(wf:lastErrorNode())}}</arg>it had the same EL problem.
The below line of code did not report an error however it didn’t print the 
actual value of error message instead it printed 
“${wf:errorMessage(wf:lastErrorNode())}” as is<arg>${trim(wf:lastErrorNode()) 
== '' ? 'Job succeeded' : 'Job failed with error message 
${wf:errorMessage(wf:lastErrorNode())}'}</arg>
Any suggestion/solution to this will be greatly appreciated.
Thank you!

Reply via email to