Description of problem: The scope of custom data-types and constants should be restricted to the current activity. Currently they are remembered for the whole kie-wb session. Steps to Reproduce: 1. Create a new BP with 1 or more process variables 2. Add 2 user activities 3. Add DataInputs with custom data-type and constants to the 1st user activity 4. When you edit the 2nd user activity, the custom data-types and constants are remembered.
Fixed master: https://github.com/droolsjbpm/jbpm-designer/commit/eed366c33004afde278b5dfb13c250d26505fb53 6.3.x: https://github.com/droolsjbpm/jbpm-designer/commit/16378d0cbc52b667cb75604d115e7941da61ab4b