[jboss-user] [JBoss jBPM] - Bussines object based application

frantisek.kocun@gmail.com do-not-reply at jboss.com
Mon May 12 12:16:36 EDT 2008


Hi, I am evaluating jBPM for use in our application. This is not a task based application (user doesn't have a task list) but an business object (BO) based. What I mean is that every page is a list of BOs or edit page for one BO. What is the best way to integrate jBPM with this kind of app? I made an api that when user clicks on a button it will alert jBPM. It looks like this:

public long newProcessInstance(String processName);
public void doTask(long processInstanceId, String taskName);
public boolean canDoTask(long processInstanceId, String taskName);
public void deployProcessDefinition(ProcessDefinition processDefinition);

ProcessInstance id is stored in BO and every button know how is called the task it should do. But it is needed to search the task by name. Is this the right approach? Has somebody used jBPM in this kind of app? Or should we use another workflow eg. OSWorklfow?

Thanks

Fero


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

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



More information about the jboss-user mailing list