Karnataka Chief Minister Basavaraj Bommai on Sunday said action will be taken in accordance with law, as he hit out at Congress leaders for going ahead with 'padayatra' (march), demanding implementation of the Mekedatu project across the Cauvery river, by violating government's COVID-19 restrictions.