AnsweredAssumed Answered

activiti-camel and receivetask question-Business key is null

Question asked by labo on Mar 13, 2012
Latest reply on Aug 18, 2013 by chakri_7
Hello together,

I am trying to setup an activiti-camel example with following steps.

Start - ServiceTask(JavaDelegate) - ServiceTask(Camel) - ReceiveTask(From Camel) - ServiceTask(JavaDelegate) - End

but I failed at the received Task with

Exhausted after delivery attempt:
1 caught: org.activiti.engine.ActivitiException: Business key is null
org.activiti.engine.ActivitiException: Business key is null
        at org.activiti.engine.impl.ProcessInstanceQueryImpl.processInstanceBusinessKey([activiti-engine-5.9.jar:5.9]

My Camel Route looks like:

a) to start Process

b) to trigger camel from activiti

c) to trigger receive task

What kind of information do I have to pass to the receive task to get it up and running ?

Note: without receive task everything works as expected