Message Event that triggers only when a dynamic expression is satisfied

you can use a Conditional Boundary event