[jboss-user] [JBoss jBPM] - Re: How to Generate ad-hoc Task, activities & process ??

faisalgeek do-not-reply at jboss.com
Thu Aug 13 04:08:29 EDT 2009

Thanks very much rogerofyan, interesting to see the detailed code about to programaticaly creating task & activities. 

But this is placed in jBPM docs, ProcessFactory or ProcessBuilder what are they and how we can achieve this to simply 2 activities and 1 transition from A to B. 

ClientProcessDefinition processDefinition = ProcessFactory.build()
    .activity("a").initial().behaviour(new WaitState())
    .activity("b").behaviour(new WaitState())

Actually, your code is bit complex, if you can tell the process diagram, will be very thankful to you.

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

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

More information about the jboss-user mailing list