0 Replies Latest reply on Feb 3, 2009 1:27 AM by dhanushgopinath

    Receive Tokens Creation in Jbpm BPEL

    dhanushgopinath

      Hi,

      I am using Jbpm BPEL 1.1.1 and have deployed a process which has many receive activities in it.

      When I start the process, it gets executed. The first receive activity is executed and the process is waiting for the second receive activity to get executed. At this point of time I query for getting the receive tokens using the code

      Collection receiveTokens = integrationSession.findReceiveTokens(bpelProcDef);


      I get only the receive tokens for the first receive activity. I checked the DB table jbpm_token, it had only the receive token for the first receive activity

      When are the receive tokens getting created in the DB?

      Thanks
      Dhanush