MappedVariable table does not maintain track of the process when its instance is completed in RHPAM

Solution Verified - Updated -

Issue

  • When the process is instantiated, a record is created in the MappedVariable table but it gets deleted once the process is completed;
  • When we use a PUT (method) to update a task, the record in the MappedVariable table is deleted:

    http://[locahost]:[port]/kie-server/services/rest/server/containers/{containerId}/tasks/{taskInstanceId}/states/completed
    
  • Our tests showed that a TaskID column (in the MappedVariable table) gets deleted once the task corresponding to this TaskID is completed;

Environment

  • Red Hat Process Automation Manager (RHPAM) 7
  • Data Objects are persisted to an Oracle database;
  • The persisted object is configured to extend the VariableEntity class and create the MappedVariable table to keep the relationship of this data object and the process instance;

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content