I'm using Activiti as a workflow tool for my application. Using Activiti as a backend, I'm creating a wrapper over it that interacts with it using the Activiti REST API.
To model the process, I use the Activiti Modeler which is part of Activiti Explorer.
While creating a process I specify the activiti:initiator
to be employeeName
in the start event, which I can then use in any other task's documentation as ${employeeName}
But the variable employeeName
stores the ID of the user. If in any other user task's documentation, I need to use the first and last name properties of employeeName, how would I do that?
I've already tried snippets from elsewhere saying to use ${employeeName.properties.firstName}
to no avail. It gives an error when the process starts.
PS: since it is a web application, only REST API is used with HTML / PHP, no java code is written. So probably a suggestion how to do it in Activiti Explorer or Modeler itself.