[jboss-user] [JBoss jBPM] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

jimrigsbee do-not-reply at jboss.com
Wed Nov 28 18:00:45 EST 2007


I would need to know more details of your use case to answer best.  But I'll give you some general ideas and let you go from there.

If the state of the document is part of your workflow, store it in a process variable as part of the context of the current state of your workflow.  In this way you only have the state in one place.

If you need to access the repo via processes other than jBPM workflows, and need to know the current status of that document, then store the state there.   When you get the current workflow step, it should be a quick matter to get the node from the repository service in JBPM and make the appropriate call (don't remember off hand) to get the attribute in the content repository that corresponds to the status of the document.

Please post what you decide and why so that others can benefit from your experience.

Regards,
Jim Rigsbee
Red Hat Inc.

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

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



More information about the jboss-user mailing list