08-30-2021 06:07 AM
Hi,
I'd like to ask for a help.
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).
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 .
Thank you.
10-01-2021 07:30 AM
Alright, I managed to figure this out. Since somebody else might be dealing with this, I'm posting how I solved it. The root cause turned out to be in the Alfresco code.
1) Find the task-list.js file in the Alfresco source code.
2) Locate following part of code and add text in bold.
That's it.
// initiator may not be present, see MNT-11622 if (workflowInstance.initiator) { initiator = $html(workflowInstance.initiator.firstName + " " + workflowInstance.initiator.lastName); }
10-01-2021 07:30 AM
Alright, I managed to figure this out. Since somebody else might be dealing with this, I'm posting how I solved it. The root cause turned out to be in the Alfresco code.
1) Find the task-list.js file in the Alfresco source code.
2) Locate following part of code and add text in bold.
That's it.
// initiator may not be present, see MNT-11622 if (workflowInstance.initiator) { initiator = $html(workflowInstance.initiator.firstName + " " + workflowInstance.initiator.lastName); }
10-15-2021 11:47 AM
Hi @AJ_ I'm so glad to hear you got this working for yourself! I'll go ahead and mark this as the solution.
Explore our Alfresco products with the links below. Use labels to filter content by product module.