Event Registry object payload mapping

Currently, mapping an event payload to variable can only be done with ‘string’, ‘integer’, ‘double’, and ‘boolean’. Can event payload be mapped into JPA Entity, the same way Message Events can be thrown with JPA Entities as its variables? How can I achieve this?

Hey @jy006,

How does the event come to Flowable?

If you are using internal events then you can pass any object for the value. However, if an event comes over JMS, Kafka etc. then Flowable needs to perform some kind of a transformation from the bytes to objects.

Can you please provide some examples?

Cheers,
Filip