Search code examples
activitibpmn

Activiti dynamic called element


Is it possible to have a dynamic call like this in activity?

<callActivity id="action" name="perform an action" calledElement="#MyService.getElement(Id)" />

Current code returns always no processes deployed with key '...'


Solution

  • Answering my own question as I found the answer. Everything works once $ is used instead of #.

    <callActivity id="action" name="perform an action" calledElement="${MyService.getElement(Id)}" />