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.
Solved! Go to Solution.
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); }
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); }
Hi @AJ_ I'm so glad to hear you got this working for yourself! I'll go ahead and mark this as the solution.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.