Service id and 2 patterns