We are using Bonita 7.2 Subscription edition,When we are trying to get displayname from List , we are seeing displayname is coming only when activity is in completed state, if activity is in initiated/executing, we are getting null for the displayName. Are we missing something?
for (final ArchivedActivityInstance activity : activityList) {
log.info("activityName: " + activity.getName() + " displayName: " + activity.getDisplayName()
+ " state " + activity.getState());
}
this is what I am getting in my logs…
2017-01-20 16:41:41,235 bpm-helper [http-nio-10105-exec-7]
activityName: Sample displayName: null state executing
2017-01-20 16:41:41,235 bpm-helper [http-nio-10105-exec-7]
activityName: Sample displayName: Samplestate completed
Why that displayName is null when that is executing?