Hi
I need to compare a value inside csv with a word phrase inside if statement
If ${!COL1} = “Google”
Echo Google
Endif
I tried without success.
This is my code
{
"Name": "Untitled",
"CreationDate": "2019-4-3",
"Commands": [
{
"Command": "csvRead",
"Target": "database.csv",
"Value": ""
},
{
"Command": "store",
"Target": "1",
"Value": "!csvReadLineNumber"
},
{
"Command": "if",
"Target": "${!COL1} == 'Google'",
"Value": ""
},
{
"Command": "echo",
"Target": "${!COL1}",
"Value": "#shownotification"
},
{
"Command": "endif",
"Target": "",
"Value": ""
}
]
}
The column have inside the value Google but the log show “Error in runEval condition of if: Google is not defined”.
have a nice day