check if property exists in oozie workflow EL
Asked Answered
D

0

6

I am trying to set a property based on the existence of another property in an oozie workflow.xml like this:

<global>
    <configuration>
        <property>
            <name>outputTableName</name>
            <value>${firstNotNull(inputTableName, outputTableOverride)}</value>
        </property>
    </configuration>
</global>

But, outputTableOverride only exists in some cases. Therefore, it fails as it is sometimes missing. Is there a way to check if the property exists?

Discountenance answered 15/12, 2015 at 1:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.