Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Redundant description field in ProcessInstance #2510
The description of a process instance comes from the process definition it's based on.
The engine does not support the fact of passing any specific value to it at process creation. Neither it does when updating the process instance.
This fact makes the Description field in a process instance redundant, since it never gets populated.
As this question raised in Activiti forums shows, the fact that the API offers the possibility to populate it in the same fashion as the name is rather misleading.
Since extracting the value of description from the process definition and set it in each instance does not enrich the instance itself (as it occurs with processDefinitionId), there's no reason why description should exist as a field in our Process Instance Model.