What’s wrong with this relevance? Running each if manually works just fine generating a true answer for the first and false for the second for the no existance of the “status” file. I need this whole relevance to return true if the first condition is true.
if (not exist (operating system) whose (it as string as lowercase contains “win” ) and exist file “/opt/dseries/WA/agentparm.txt” and not exist file “/opt/dseries/WA/status”)
then
true
else
if (exist file "/opt/dseries/WA/status" and exist line whose ( it contains "Inactive" ) of file "/opt/dseries/WA/status")
then
true
else
false
if (not exist (operating system) whose (it as string as lowercase contains “win” ) and exist file “/opt/dseries/WA/agentparm.txt” and not exist file “/opt/dseries/WA/status”) then true else if (exist file “/opt/dseries/WA/status” and exist line whose ( it contains “Inactive” ) of file “/opt/dseries/WA/status”) then true else false