Author |
Message
|
Ramgathy |
Posted: Tue Mar 30, 2004 10:12 am Post subject: Workitem Creation in the middle of process |
|
|
Apprentice
Joined: 31 Oct 2003 Posts: 49
|
Hi,
Can a workitem created in the middle of a process for a particular activity..
I mean in a process if there are three activities ..at activity 2 if some one wants to create a brand new workitem for that activity and it is required to go down the path..like activity 3 and so on or as designed..can it be done..
If so are there any API's to create workitem based on he designed In/Out container values and also activity..
Thanks in advance
Regards,
VikRam |
|
Back to top |
|
 |
Ratan |
Posted: Tue Mar 30, 2004 10:16 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I dont understand you post.
If you are asking whether you can add an activity the inflight process instance, it cant be done.
If you want Workitem generated for your Activity2 to be assigned to some other user you can transfer it. _________________ -Ratan |
|
Back to top |
|
 |
Ramgathy |
Posted: Tue Mar 30, 2004 10:20 am Post subject: |
|
|
Apprentice
Joined: 31 Oct 2003 Posts: 49
|
Ratan,
Workitem is created at the start of the process.but if i want to create a brand new workitem which starts from activity 2 programmatically based on the in/out container values defined for that activity ..can it be done..
It is not a contact admin of the existing WI.
Regards,
VikRam |
|
Back to top |
|
 |
Ratan |
Posted: Tue Mar 30, 2004 10:36 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
you can have activity B inside a Block and have the block fail the exit condition. This will regenerate the workitems for Activity B. _________________ -Ratan |
|
Back to top |
|
 |
sshaker |
Posted: Tue Mar 30, 2004 12:08 pm Post subject: |
|
|
 Disciple
Joined: 20 Sep 2002 Posts: 185
|
Ramgathy,
from ur posting, it looks like ur trying to a model which is not suitable for workflow or may be ur not modeling it right. pl refer to the best practices guide on what type of processes are good candidates for mqworkflow. if u have time, prod workflow book will be a better tool to understand the concept. _________________ shaker |
|
Back to top |
|
 |
Ramgathy |
Posted: Tue Mar 30, 2004 12:55 pm Post subject: |
|
|
Apprentice
Joined: 31 Oct 2003 Posts: 49
|
ratan,shekha
Thanks for the advice..i think i need to look more into this problem.i think i agree with you guys that this is not the right approach to take on my part.
Thanks one again.
Regards,
vikRam |
|
Back to top |
|
 |
|