3 Replies Latest reply: Feb 10, 2012 3:40 AM by S V S G Krishna Murthy K RSS

Creating TaskInstance by code when ProcessInstance is runnin

Carlos Andia Newbie

Hi.

I have created a ProcessDefinition and its corresponding ProcessInstance by Code so when the processInstance executes the taskInstances are created automatically with the execution. My question is if I can create TaskInstances in the processInstance when it is already running, if so, how jbpm keeps coherence between the processDefinition and the processInstance. Is there any consideration to take? Thanks in advance.