Message reference
A message event or receive task must reference a message defined in the process. To fix this problem, open the Message group in the properties panel and select or create a message. The referenced message must have a defined correlation key (refer to message subscriptions).