Author |
Message
|
vennela |
Posted: Fri Mar 07, 2003 8:44 am Post subject: Attributing an automated activity to a person |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I have this situation
Code: |
----->----Activity B
/
ActivityA <
\
----->----Activity C
|
ActivityA and ActivityC are manual activities. ActivityB is an automated Activity. B is an e-mail activity. This would send e-mails to the person ActivityC is assigned to. How do I design this.
Suppose PERSON1 is supposed to perform ActivityC.
I would assign ActivityB also to PERSON1. But the xml message Workflow sends to UPES doesn't contain any information as to whom ActivityB is assigned to. How do I do this.
Queuestion2:
Does EmailHandler of the web-client help in the above situation in anyway.
Thanks
-------
Venny |
|
Back to top |
|
 |
Ratan |
Posted: Fri Mar 07, 2003 9:01 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
You have a workitem api call to retrieve all the staff members the workitem is assigned to. In Activity B you can retrieve all the staff who have access to it and send them an EMail.
I have a similar requirement and his is how I am considering designing it. I dont think there is any direct out-of-the-box solution for this.
I would like to know if anyone has a better solution.
-Laze |
|
Back to top |
|
 |
dkrawczynski |
Posted: Tue Mar 11, 2003 5:25 am Post subject: |
|
|
 Apprentice
Joined: 19 Dec 2002 Posts: 26 Location: Dallas, TX
|
I curious as to why you want to immediately send an email to the user assigned to Activity C. Have you considered using notifications?
If you set a first notification on Activity C and assign the notification to the same user that Activity C is staffed to (set the notification time to 1 second if you want to happen immediately). Then you should be able to write a simple application that continuously looks for notifications workitems and sends an email to the user that the notification was assigned to. This would eliminate the need for Activity B. _________________ Doug Krawczynski
IBM Certified Solutions Expert -
MQSeries Workflow |
|
Back to top |
|
 |
jmac |
Posted: Tue Mar 11, 2003 6:02 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Doug:
My fear with the 1 second expiration time, is that you'd need to set the Scheduling server Notification Check interval to 1 second. I think this would cause an unacceptable amount of overhead. Have you ever measured this? _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vennela |
Posted: Tue Mar 11, 2003 7:31 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
I curious as to why you want to immediately send an email to the user assigned to Activity C |
Since workflow is new around here, the users are not used to it. Once the users start getting in to workflow we will remove the e-mail activity. I think I don't like this idea too.
-------
Venny |
|
Back to top |
|
 |
dkrawczynski |
Posted: Tue Mar 18, 2003 4:30 am Post subject: |
|
|
 Apprentice
Joined: 19 Dec 2002 Posts: 26 Location: Dallas, TX
|
jmac wrote:
Quote: |
My fear with the 1 second expiration time, is that you'd need to set the Scheduling server Notification Check interval to 1 second. I think this would cause an unacceptable amount of overhead. Have you ever measured this?
|
I would set the first notification time to 1 second, but make the scheduling server notification check interval to a more resonable time length depending upon how urgent it is that the user gets that email, and as I suspected it is not that important, but at least when the scheduling server ran, it would get all the notifications up to that point in time. _________________ Doug Krawczynski
IBM Certified Solutions Expert -
MQSeries Workflow |
|
Back to top |
|
 |
|