3 Replies Latest reply on Aug 19, 2009 4:03 PM by Ronald van Kuijk

    Linking JBPM processes with external entities

    Maxim Zakharenkov Newbie


      We have a legacy system which uses Hibernate and JBPM for tracking entity state in workflow. E.g. we have Offer business entity which is processed through an approval cycle.

      In our entity we have a process id field/property which points to the process instance it is bound to. Every time we have some workflow transitions with execute them on this process instance.

      Currently we have e problem with cross querying between JBPM and our system's entities. E.g. we need to search for Offers by their attributes and by workflow states. Since JBPM API is designed so that it hides direct Hibernate object mappings it is unclear how to do such type of queries.

      Could you please advice what to do in such situations?

      Thanks in advance