AnsweredAssumed Answered

JPA variable must pre-exist?

Question asked by tstephen on Apr 25, 2011
Latest reply on Apr 26, 2011 by frederikheremans1

I'm just exploring the JPA variable support and have a question on the expected usage. The example test case JPAVariableTest creates all the entities to be manipulated prior to running the process engine. When I pass in a new (unpersisted) entity I receive an ActivitiException with message 'Entity does not exist…' Is it a requirement that the entity already exist and the process engine merely update it? Ideally I want the process engine to create the entity in response to the initial process instance creation.