0 Replies Latest reply on Mar 29, 2016 2:54 AM by chiaan Hung

    How to access process instance's variables via jbpm api when using per request runtimemanager?

    chiaan Hung Novice

      For example, I create a process instance by Kiesession A.

      How to access the variables in that processinstance after the RuntimeEngine is disposed by per request runtimemanager?

       

      I have read the per request strategy part at the following url.

      https://docs.jboss.org/jbpm/v6.0.1/userguide/jBPMCoreEngine.html

       

        KieSession information will be removed from the database in case persistence was used.

       

      Is it possible to get variables of a processinstance without knowing it Kiesession id?

      How to get variables of a processinstance after the kiesession id is removed from database?

       

      Now I can only access the process instance variables via processeventlistener in the kiesession within the request.

      Or should I save the processinstance variables by another table, I create, when processinstance is not finished?

       

      THX!