Everyone know how to attach variable to array values..Only i dont know how to do that... Any way i have mentioned below
Schemas=(AWQM WFCONTROLLER PROVCO PRISM)
for s in "${Schemas[@]}"
do
sch="${s}_$tol"
if [ $tol == AD ] || [ $tol == TD ];then
echo "This is AD or TD region"
else
echo "This is Other Env"
fi
done