cancel
Showing results for 
Search instead for 
Did you mean: 

(No message) in My Tasks dashboard above task

azivotic
Champ in-the-making
Champ in-the-making
I have a problem with passing message to user when he gets task in his My Tasks list. My previous process definition uses something like this:

<userTask id="preparationOfProjectCharter" activiti:assignee="${bpm_assignee.properties.userName}">
<documentation>
        My message
</documentation>
and that works fine. When user gets this task in his task list "My message" is there above task link. In mean time i upgraded from alfresco enterprise 4.0b to 4.0 and above code doesn't work any more. User gets his task, but above task says (No message). I tried in my process definition on task create listener to set bpm:description property but this also didn't fix my problem. Any idea on this?

Regards,
Aleksandar
9 REPLIES 9

azivotic
Champ in-the-making
Champ in-the-making
I just set bpm_workflowDescription variable and message appears now.

Regards,
Aleksandar

juniorbl
Champ in-the-making
Champ in-the-making
Aleksandar,

How did you set the variable? I'm trying to use:
task.setVariable('bpm_workflowDescription', "BlaBlaBla");
But it only changes the message of the next task, not the current one, do you know how to do it?

Regards.

rheimburger
Champ in-the-making
Champ in-the-making
Aleksander,
Please post your solution to this issue.

marcus_svensson
Champ in-the-making
Champ in-the-making
Currently having the same problem.

The functionality seems a bit inconsistent, some times it will show the task name as title in the my tasks dashlet and some times not. So I would also be interested in knowing the correct solution for this.

ldziedzic
Champ in-the-making
Champ in-the-making
Hi,

I have the same problem on Alfresco 4.2d, did you manage to solve this ?

regards
Leszek

egorbright
Champ on-the-rise
Champ on-the-rise
Hi! I got a same problem in Alfresco 5.0 CE.

var task = workflow.getTask("activiti$36685");
var props = task.getProperties();
props["bpm:description"] = "SET MESSAGE";
task.setProperties(props);

This code works fine in Javascript console, but if I try this code in taskListener - got error.
No info in logs. F*CK!!!

OK, go further.

When I try this code in taskListener (on create or on assignment - same result)

task.setVariable('bpm_description', 'SET MESSAGE');

I still see a "(No message)"

How can I set bpm:description variable in taskListener?

Please, help!

Thanx

egorbright
Champ on-the-rise
Champ on-the-rise
Works on create:

task.description = "YOUR DESCRIPTION!";

Alfresco version: 5.0.a CE

mflaute
Champ in-the-making
Champ in-the-making
Worked like a charm for me! Thanks man

atanarius
Champ in-the-making
Champ in-the-making

What do you mean On create?