[jboss-user] [JBoss jBPM] - Re: Starting a Process Through API

salaboy21 do-not-reply at jboss.com
Fri Oct 31 10:04:21 EDT 2008

try to remove the following lines:

  | BpelGraphSession graphSession = BpelGraphSession
  | 					.getContextInstance(jbpmContext);
  | 			BpelProcessDefinition bpelProcDef = graphSession
  | 					.findLatestProcessDefinition("ProcessDefinitionName","ProcessDefintiion Target URI";

if you have the process definition deployed the newProcessInstance method find your process definition and then you can signal it.

Also, are you sure that your process definition is correctly deployed?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186042#4186042

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186042

More information about the jboss-user mailing list