Add condition to action for meta data