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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ic2h
Active Member

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

Jump to solution

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 Solution

Accepted Solutions
ic2h
Active Member

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

Jump to solution

I've got it solved after editing Start Event:

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

View solution in original post

1 Reply
ic2h
Active Member

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

Jump to solution

I've got it solved after editing Start Event:

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

View solution in original post