cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning tasks based on task variables

kerkira67
Champ in-the-making
Champ in-the-making
Hi,

I would like to know how to assign a task based on a task variable specified in a previous task.

In my case I have an initiator, which specifies a department name in the start task. The following task should be assigned based on the department name. In particular, tha subsequent task should be assigned to the boss of that particular Department.

Thanks
Roberto
2 REPLIES 2

davidc
Star Contributor
Star Contributor
You can use script in your workflow to navigate nodes in the repository. Unfortunately, you cannot navigate Alfresco groups/users in script, so you'll have to setup your own associations to navigate.

Sometime in the future, we'll plug-in to the JBoss jBPM identity component, so you can use native jPDL syntax for navigating Alfresco group/user structures.

kerkira67
Champ in-the-making
Champ in-the-making
Thanks.

One last question: where do I define associations and how?

The scenario is the following:
I have 11 departments. Each department has its boss. When the initiator starts the workflow, he specifies a department name. The folowing task should be assigned to the head of the specified department.
Where do I specify the association between department name and head of department alfresco account?
How can I perform swimlane assignment based on this association?

Thanks
Roberto