Hi Anastasia,
For this, you can use an object type decision in a microflow, and from the 'result' entity you can cast the 'customResult' entity and use it.
You can learn more about object-type decisions by clicking here!
Hope it helps!
Directly it is not possible! you have to draw as associate from Project to CustomResult. Then do the same in your message definition.