03-13-2017 10:22 AM
Hello,
I have a pretty straight forward question. Is it considered as normal that process instance names are not persisted and not returned on an API call such Get a process instance OR Get a historic process instance, although a field NAME_ is present in ACT_HI_PROCINST ?
I was expecting a process instance to be default named according the name declared in the BPMN definition.
<process id="simple-approval" name="My Process Instance Name" isExecutable="true">
...
</process>
By searching some similar problem i found this Process instance name is never persisted in table ACT_HI_PROCINST(for HistoricProcessInstance) · Iss...
But from what I can see it has not been fixed, or am I missing something ?
Thanks !
Stephane
PS : I launch my processes by submitting forms, using activiti 5.22.0.
03-13-2017 11:10 AM
03-14-2017 02:45 AM
Thanks for the reply.
Maybe my original post is a bit confusing when is say
although a field NAME_ is present in ACT_HI_PROCINST
What I meant is the field is indeed present in the DB schema, but the value is null. Then in my case it is not that weird it does not show up in the response.
What is more questionable it is why the engine do not default name the process instance with the process definition name.
Maybe the name is intented to be set manually via a listener ?
03-15-2017 08:59 AM
Hmm, NAME_ seems to be populated for me.
Explore our Alfresco products with the links below. Use labels to filter content by product module.