cancel
Showing results for 
Search instead for 
Did you mean: 

Update Workflow Assignee with JavaScript in WebScript

tonyfoo
Champ in-the-making
Champ in-the-making
Hi All,

I need to dynamically assign a workflow task to the user claiming the task through a WebScript UI. Is there a recommended way of doing this? Is there a specific property you can set within the task?

Thanks,
Tony
3 REPLIES 3

ronnie
Champ in-the-making
Champ in-the-making
I have the same problem. I would like to assign all tasks that belong to one person to another by calling a webscript.

Regards,

Ronnie

dc_noze
Champ in-the-making
Champ in-the-making
Hi guys,
to change the task owner you need to set the the owner of the task to the user you want to assign the task to.
Until version 3.0 wasn't possible to directly update task properties. I don't know if in newer version this was changed.
Here you can find a snippet of a java solution: http://forums.alfresco.com/en/viewtopic.php?f=34&t=23648 .

I hope this can help.

granddams
Champ in-the-making
Champ in-the-making
Up!

Hi all,
at this date (Alfresco 3.4e), is there any javascript code which can update a task owner?
And better, a script which can update all properties of a wf task?

If there's only the java-backed webscript solution, can i have more details on how to implement it?
I never used Eclipse to customize my Alfresco, only javascript, json and freemarker…
I've an other topic on the Workflow forum : http://forums.alfresco.com/en/viewtopic.php?f=34&t=39757

Thanks.