cancel
Showing results for 
Search instead for 
Did you mean: 

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

ic2h
Champ on-the-rise
Champ on-the-rise

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?

1 ACCEPTED ANSWER

ic2h
Champ on-the-rise
Champ on-the-rise

I've got it solved after editing Start Event:

<startEvent id="request" activiti:initiator="initiator" />

View answer in original post

1 REPLY 1

ic2h
Champ on-the-rise
Champ on-the-rise

I've got it solved after editing Start Event:

<startEvent id="request" activiti:initiator="initiator" />