AnsweredAssumed Answered

Message Event Received with REST and Pojo

Question asked by jorge.serrao on Apr 6, 2016
Latest reply on Apr 7, 2016 by jorge.serrao
Hi everyone,

I need to send a MessageCatchingEvent via Activiti REST API with a Java Pojo but I'm facing a problem with that.

The request I was trying to send (via PUT) is the following:

         "messageName": "myMessage",
          "variables" : [

This request made me wonder how should I include the Pojo in this JSON so I decided to investigate the code in Activiti.
I realized that Activiti is looking for a
based on the variable type but since there isn't a RestVariableConverter for a varibale type of serializable an error would be thrown.

Should I create my RestVariableConverter?
Does anyone have a better idea or has had this problem before?