Fix auto workflows persist message to resources in case of errors