Author |
Message
|
kotha |
Posted: Tue May 17, 2005 9:32 am Post subject: [SOLVED]Activity Check out-Person Info |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
In my process, one workitem goes to multiple people and one of them checks it out. So I need to know who checked the workitem?
Which workflow variable contains the information of the person of the current current activity. So when he/she finish the activity, I can send the person info to the next activity.
Last edited by kotha on Fri May 20, 2005 9:07 am; edited 1 time in total |
|
Back to top |
|
 |
jmac |
Posted: Tue May 17, 2005 11:24 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
There is no workflow variable with this information. You will have to put a memeber in the container, and populate it with the program activity. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kotha |
Posted: Tue May 17, 2005 11:56 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
jmac wrote: |
There is no workflow variable with this information. You will have to put a memeber in the container, and populate it with the program activity. |
I thought there is a variable as such because when one work item checked out, we can easily know who owns the activity. so I assumed that the person info stored in some variable.
thanx for your post Jmac, as I dont need to do big search for it. |
|
Back to top |
|
 |
kotha |
Posted: Thu May 19, 2005 10:43 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
jmac wrote: |
You will have to put a memeber in the container, and populate it with the program activity. |
Jmac,
can you plz elaborate.
let us assume that I have added one more variable "PersonCurrentActivity". How can I populate this variable to get the current activity owner's name.?? |
|
Back to top |
|
 |
jmac |
Posted: Thu May 19, 2005 10:55 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
You have a program that is running for this workitem, and the workitem is accessable via "wi"
Populate the container with wi.owner()
OR
If you don't have a workitem. The user is logged on with an ExecutionService "es"
Populate the container with es.userID() _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kotha |
Posted: Thu May 19, 2005 11:19 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
Thx Jmac,
Lemme try it out and I will let you know. |
|
Back to top |
|
 |
kotha |
Posted: Fri May 20, 2005 9:06 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
It works!!!. I did it another way. I developed the logic in the JSP page(is program for the activity)
Thx Jmac |
|
Back to top |
|
 |
|