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 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
