Activity Descriptor from Tree Engine missing in subsequent scenes

I’m modelling a module that contains a tree which shows a hierarchy of several entities.

Besides the hierachical tree perspective, there is also for every entity a dedicated module with an overview of that entity.

Requirement

Whenever I click an entity, either in the tree or in one of the overview pages, a detail form must open that shows the entity’s information.
Depending on the context (tree vs. overview) the form has to display different content, so I have two different forms for the entity.
I want to be able to model multiple trees for the same entities, so that I can show the information in different ways to different user groups.

Problem

When I open the tree “overview”, based on my definition of activity descriptors in the module in the app model, an engine, model and module name are set.
When I click an entity in the tree, those descriptors get lost. There is only the descriptor for the model and the instance given.
Therefore the match-condition for the detailed form no longer works the same way it does when the entity is opened from the overview module (here the respective activity descriptors are kept); the scene description is no longer unique.

For one tree in my application I can work around that behaviour. If I added a second tree that shows exactly the same data (e.g. a read-only tree), I could not tell which detail form should be loaded because the descriptors coming from the module are missing.

Question

Is this behaviour a bug or is it intended?

If it is intended, how can I model two different detail forms for the same entity that are opened from two different trees?

Hi @milena-bright-crest
I can’t speak to the intention the situation in 2024.06 but I can help you :slight_smile:

If you model the Form Scenes in the Application Model using the “Prior Scene” you can specify that this Scene is only to be used when working from your tree.

You can see a modeling example of this in the advanced workspace
Simple_Model_Editor_mXh8SpPSTS

In 2025.06, the activity descriptors have been aligned as described in the Release Presentations and A12-16657. The 2024.06 solution using Prior Scene will continue to work as expected and you will have the consistency and flexibility that you are looking for :partying_face:.