I am a newbie in this staff. 
I've got jbpm  as external SAR and I need to use it in a seam application.

Now I am  using  jbpm this way:

  | JbpmConfiguration jbpmConf = (JbpmConfiguration) new 
InitialContext().lookup("java:/jbpm/JbpmConfiguration");
  | JbpmContext jbpmContext =  jbpmConf.createJbpmContext();
  | GraphSession graphSession = jbpmContext.getGraphSession();
  | ProcessDefinition processDefinition = 
  |                       graphSession.findLatestProcessDefinition("MyProcess");
  | ProcessInstance processInstance = 
  |                       new ProcessInstance(processDefinition);
  | 

I'd like to use @CreateProcess annotation.

How should I configure it, to point out Seam using my configuration of jbpm.
Configuration below is not convenient, because  process definition not in the 
seam application.


  | <component class="org.jboss.seam.core.Jbpm">
  |    <property name="processDefinitions">
  |         documentLifecycle.jpdl.xml
  |     </property>
  | </component>
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979583
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to