AnsweredAssumed Answered

Call Activiti // Expression?

Question asked by dognose on May 27, 2013
Latest reply on Jun 3, 2013 by dognose

we are using a Call Activity to invoke another process  from within a process.
Since we have an additional "versioning" on top the versioning provided by activiti,
we have processKeys containing a version.

Now, if we trigger a subprocess, using a call activiti we want to call the latest version of the
process. Therefore we have a Service, providing us this information. However if i enter a
Expression in the Called Element field:

#{processVersionService.getLatestProcessKey('SomeProcessKey')} //would return 'SomeProcessKey_v2' i.e.

i receive the error:

Unable to complete Task.: org.activiti.engine.ActivitiException: no processes deployed with key '#{processVersionService.getLatestProcessKey('SomeProcessKey')}'

so, the EL-Expression is not evaluated within that field, right? Any Ideas on how we can "achieve" that?