Author |
Message
|
Prahasith |
Posted: Mon Jun 02, 2003 10:46 am Post subject: activity |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
I have three activities A, B, C
The control flow is A------ >B and A------->C
I want the activity B executed first and then activity C to be executed
how do i do this |
|
Back to top |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 10:47 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
B and C are parallel activities starting from A |
|
Back to top |
|
 |
Ratan |
Posted: Mon Jun 02, 2003 10:51 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
put a control connector from Activity B to Activity C. Activity C's start condition should be atleast one incomming connector true. This makes sure Activity C doesnot start unless B is completed. _________________ -Ratan |
|
Back to top |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 11:00 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
what happens if i use all incoming connectors true |
|
Back to top |
|
 |
Prahasith |
Posted: Mon Jun 02, 2003 11:03 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
I guess i should use all incoming connectors true |
|
Back to top |
|
 |
Ratan |
Posted: Mon Jun 02, 2003 11:05 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
what happens if i use all incoming connectors true |
If you do that the transition conditions A-->C and B-->C should both be evaluated to true for C to start.
If you dont have any transition logic from B --> C (which means it is always true), you might have to specify " all incming connectors true". to avoid C to start when transition condition A--> C is evaluated to false.
Depends on how you want C to start. _________________ -Ratan |
|
Back to top |
|
 |
Andy |
Posted: Mon Jun 02, 2003 7:58 pm Post subject: |
|
|
 Centurion
Joined: 14 May 2003 Posts: 122
|
Is there any way to start B before C, without having Control Connector from B to C? _________________
Andy |
|
Back to top |
|
 |
Ratan |
Posted: Tue Jun 03, 2003 8:16 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Quote: |
Is there any way to start B before C, without having Control Connector from B to C? |
Not any direct method as far as I know. If they are UPES activities and your UPES is not multithreaded you can have a noop activity before C, this will make sure B is executed before C(because the XML will be processed in first come first serve basis). _________________ -Ratan |
|
Back to top |
|
 |
|