if I want to get these values from config file like
S is name and values are
" CurrentRow(“Cost Center”).Equals(“AWS”) Or CurrentRow(“Cost Center”).Equals(“Python”) Or CurrentRow(“Cost Center”).Equals(“Power BI”) Or CurrentRow(“Reporting Manager”).Equals(“Srinivas”)
or
get array list from config.
then how do I put these in if condition as it takes only boolean variables
Config is a dictionary. Config(“somefield”) is an object. To use it in an if, you have to use Config(“somefield”).ToString or CInt(Config(“somefield”).ToString) etc
" CurrentRow(“Cost Center”).Equals(“AWS”) Or CurrentRow(“Cost Center”).Equals(“Python”) Or CurrentRow(“Cost Center”).Equals(“Power BI”) Or CurrentRow(“Reporting Manager”).Equals(“Srinivas”)
It also contains CurrentRow(“Reporting Manager”).Equals(“Srinivas”)