Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
11. Aug 2008, 14:29 CET | Link

Hi everybody,

I stumbled over jBPM a few days ago and now I am trying to integrate it into my project. But since I'd like to play around with it a little bit I created a dummy-view with a button to create a process (called order). It's bound to the createProcess() method.


	public void createProcess()
	{
		createJbpmProcess();
	}
	
	@CreateProcess(definition="order")
	private String createJbpmProcess()
	{
		log.info(TestHelper.class.getCanonicalName(), "started jBPM process");
		return "success";
	}

Logger prints the given line but

  • No ProcessInstance is persisted into the database
  • server.log doesn't state anything about a process being created
  • The action expression (in my start-node) isn't evaluated (System.out.println(hi)).

I'd expect at least one of those to happen. How can I find out if my Process is created correctly? Or did I do something wrong?

Thanks for your help!

2 Replies:
11. Aug 2008, 14:50 CET | Link

Marcel,

A call to createJbpmProcess() isn't a call to a Seam proxy. It's just normal java call. That is why the @CreateProcess annotation has no effect.

Cheers, -Pawel

Rating:  * * * * *
11. Aug 2008, 14:57 CET | Link

Thanks for the fast reply, Pawel.

Works just fine now - Another thing learned about Seam.