AnsweredAssumed Answered

Unknown property used in expression: ${initiator.properties.userName}

Question asked by ic2h on Oct 4, 2017
Latest reply on Oct 4, 2017 by ic2h

Hi!

 

I use Activiti with Spring Boot to develop invoice system. So, I need to associate first task in workflow with workflow's initiator. I found out that it's usually made via expression:

<userTask id="..." name="Initiator task" activiti:assignee="${initiator.properties.userName}"/>

But in moment when workflow starts, I'm getting exception:

org.activiti.engine.ActivitiException: Unknown property used in expression: ${initiator.properties.userName}

Is it known issue and is there another way to perform task assignment?

Outcomes