Author |
Message
|
CHF |
Posted: Tue Nov 23, 2004 3:16 pm Post subject: Workflow Design Issue |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
All,
I have 2 activities in my process model.
A is an UPES activity. B is a manual activity.
User logs into the workflow and issues a create and start instance (from the custom webclient) for this process. As soon as the instance is started, a message will be sent to the A's UPES Q, and immediately I am sending response back to workflow with the Output container. Depending on the outcome of A, the user needs to decide to create / NOT to create a workitem for B.
To achieve the above requirement I have modeled my process like this:
I have added an extra activity in between A and B.
X is a dummy manual activity. As soon as the user submits the CreateAndStartInstance, message will be sent to the A' UPES Q, and immediately A receives the response back and creates a Workitem for X. At the same time I am querying the Output container for A and displaying the Output container to the user on his screen, so that he can make a decision to create / NOT to create a workitem for B. I am providing two buttons for that user in the same screen. Buttons are like Create , Not Create.
If he clicks on Create button, in the backend I am simply Checking out that X workitem and Checking it in immediately with OutputContainer 's one of the FLAG set to YES. If he clicks on the Not Create button I am setting the FLAG to NO.
The approach I followed above is working fine. But I want to get your thoughts on are there any simple ways to achieve my requirement.
Thanks in Advance. _________________ CHF  |
|
Back to top |
|
 |
jmac |
Posted: Tue Nov 23, 2004 4:09 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
CHF:
This is what I am hearing:
There is an automatic activity (A) that runs.
Once that activity is complete human intervention is required to decide whether or not to create the manual activity (B).
If this is correct, then I would say you have solved the problem in the best way possible. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
CHF |
Posted: Wed Nov 24, 2004 5:53 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
John:
You got me right. I am happy to hear your answer, because now I do not have to make any modifications to my model.
Thanks again. _________________ CHF  |
|
Back to top |
|
 |
sac |
Posted: Fri Dec 03, 2004 4:38 am Post subject: |
|
|
Apprentice
Joined: 10 Feb 2003 Posts: 44
|
Hi,
I would suggest use of no-operation activity between A and B.
The no-opeation activity can decide the furher process flow based on the value of flag that you are setting. With this implementation you won't be required to have a checkout and checkin activity implementations.
It would be like;
FLAG="CREATE"
A----------------->No-Op--------------------------->B
|
|_______________________>C
FLAG="NO CREATE"
-Thanks |
|
Back to top |
|
 |
sac |
Posted: Fri Dec 03, 2004 4:46 am Post subject: |
|
|
Apprentice
Joined: 10 Feb 2003 Posts: 44
|
Please note that the arrow which seems to be comingout of A, it actually coming from No-Op to B.
The txt representation kind of misallings the lines.
-Thanks. |
|
Back to top |
|
 |
Ratan |
Posted: Fri Dec 03, 2004 1:53 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
Once that activity is complete human intervention is required to decide whether or not to create the manual activity (B). |
Sachin,
The solution is based on this.
If human intervention is not required I dont see any need for No-op activity as you suggested. _________________ -Ratan |
|
Back to top |
|
 |
CHF |
Posted: Fri Dec 03, 2004 1:56 pm Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Sachin,
No-Op will NOT work it, 'coz I NEED a manual intervention to decide to create/not to create workitem for B.
John's explaination is right way. _________________ CHF  |
|
Back to top |
|
 |
|