10-04-2017 10:03 AM
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?
10-04-2017 10:30 AM
I've got it solved after editing Start Event:
<startEvent id="request" activiti:initiator="initiator" />
10-04-2017 10:30 AM
I've got it solved after editing Start Event:
<startEvent id="request" activiti:initiator="initiator" />
Explore our Alfresco products with the links below. Use labels to filter content by product module.