viadee / vPAV

viadee Process Application Validator

Home Page:https://www.viadee.de/java/process-application-validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seperate analysis of entry points

TamaraGunkel opened this issue · comments

Currently, our analysis searches for entry points in the process. Two possible entry points are e.g.

ProcessInstantiationBuilder instantiationBuilder = processEngine.getRuntimeService()
              .createProcessInstanceByKey("myProcess")
              .setVariable("var", "value");
instantiationBuilder.execute();

this.runtimeService.startProcessInstanceByKey("myProcess", processVariables);

The variables which are passed to the process are included in the analysis. However, it is possible that a process is started twice within a project. In this case, the variables are currently merged (union of variable sets).
The correct way would be to run two seperate analyses, one per entry point.

To implement this extension, the analysis must be conducted per entry point and the frontend must be changed accordingly.