And passing the condition in where clause :
RIGHT(t.TABLE_NAME,LEN(t.TABLE_NAME) -CHARINDEX('$',t.TABLE_NAME)) IN ('@{ if(lessOrEquals(length(pipeline().parameters.TablesWithCompany),1), join(pipeline().parameters.TablesWithCompany,''), concat(join(pipeline().parameters.TablesWithCompany,''',''')) )}')
But in parameter passing: Folder :@{pipeline().parameters.RawFolder}/@{pipeline().parameters.Companies[0]}/Tables/@{pipeline().parameters.TablesWithCompany[1]}
I am passing @{pipeline().parameters.TablesWithCompany[1]} 1 or 0 .
I am getting issue :
error :The expression 'pipeline().parameters.TablesWithCompany[0]' cannot be evaluated because property '0' cannot be selected. Property selection is not supported on values of type 'String'.
Please advise
Thanks in advance
RK