cancel
Showing results for 
Search instead for 
Did you mean: 

My Tasks overview show only first name for "started by' field

AJ_
Champ on-the-rise
Champ on-the-rise

Hi,
I am trying also this forum since I am not sure if my problem is Activiti or Share related.
I'm using Alfresco 6 and in My tasks list, there is only first name displayed for the person who started the worklfow (please see the screenshot below).

Capture.png

I actually cannot figure out where the problem is. I tested to get the variables from the DelegateExecution instance and also tested taskService API.
In the workflow details, both first and last name are displayed.
Can you advice me on the process how the "Started by" field value is set?  Specifically, from which object these values are taken, where is this FTL located etc. so I can go through the process and find out where the problem is.
Of course, if somebody knows exactly how to fix this, I will appreciate it even more Smiley Happy.
Thank you.

1 REPLY 1

Dagoo
Champ on-the-rise
Champ on-the-rise

Resolved here: https://hub.alfresco.com/t5/alfresco-process-services/my-tasks-display-only-first-name-in-quot-start...

1) Find the task-list.js file in the Alfresco source code.
2) Fix this part of code

         // initiator may not be present, see MNT-11622
         if (workflowInstance.initiator)
         {
            initiator = $html(workflowInstance.initiator.firstName + " " + workflowInstance.initiator.lastName);
         }