Author |
Message
|
ucbus1 |
Posted: Wed May 14, 2003 7:58 am Post subject: workflow instantiation |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
It may be simple question to you all.
When we instantiate a work instance we say in workflow XML message that we put in "<ProcTemplName>" and define the template it needs to take. This in our case goes to "virtual user 01". Indiviudual users like me are assigned to the "virtual users", so when I say get work item it brings up the work items assigned to "virtual user01".
My question is how workflow knows the workinstance of particular template belongs to "virtual user01".
My guess is that it must be somewhere in the FDL for the model. But I am unable to find which part of the FDL basically does this.
If I have to change the "virtual user01" to say "vu-user02" where and what do I change in Build Time?
Thanks |
|
Back to top |
|
 |
vennela |
Posted: Wed May 14, 2003 8:12 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
A workflow process can be started by all the people who are authorized to start it.
In MQWF builtime:
Select a person
->Properties -> Authorization -> Categories
If you are using XML to start a process then MQMD.UserId is the process starter.
For the activities you can select the process starter or the process administrator as the owner of the activity.
Activity -> Properties -> Staff1
(Look at the 9th and 10th radio button).
Maybe that helps.
Somebody please let me know if I am wrong because I know I am not too good with buildtime |
|
Back to top |
|
 |
ucbus1 |
Posted: Wed May 14, 2003 8:28 am Post subject: |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
I think I have to clarify what I am lookiing.
If you look in out-of-box client , you see the owner field for a "work item " . For us, I see when we instantiate the owner filed is populated as "virtual user 01" and I need to change it to say "vu-user01".
My question is who assigns this "owner" filed first time the work instace is created. My guess is there in FDL but I am not sure where to look for
Thanks |
|
Back to top |
|
 |
Ratan |
Posted: Wed May 14, 2003 9:08 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Look up in your buildtime, how the staff assignment in made to that process. Workflow determines the users based on that staff assigment. If an activity A1 is landing on Worklist of "Virtual Users 1", that means the activity was assigned to him in the buidtime. The activity assigment could have been done dynamically based on org, role, level..... _________________ -Ratan |
|
Back to top |
|
 |
Ratan |
Posted: Wed May 14, 2003 9:10 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
If you want the workitem to go to "vu-user01" (someone else), right click your activity, click on staff tab and change it to vu-user01 or any criteria..... _________________ -Ratan |
|
Back to top |
|
 |
|