AnsweredAssumed Answered

CDI and ProcessInstanceId

Question asked by tdtappe on Oct 29, 2014
Latest reply on Feb 28, 2015 by jbarrez
I am using Activiti 5.16.3 with CDI extension in a JBoss 7.1.4 (clustered). Sometimes I run into the following problem.
Referencing a named CDI bean within a workflow definition works just fine. But sometimes I don't get the process instance id via injection in that named bean:


@Inject
@ProcessInstanceId
protected String processInstanceId;


The processInstanceId is just null. Why is that? Any idea?

–Heiko

Outcomes