Author |
Message
|
CHF |
Posted: Thu Apr 22, 2004 6:21 am Post subject: [SOLVED]Unknown State for an activity |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Hi all,
1) What is "Unknown State" stands for an activity?
2) When will an activity goes to Unknown State?
Thanks
CHF 
Last edited by CHF on Thu Apr 22, 2004 12:18 pm; edited 1 time in total |
|
Back to top |
|
 |
jmac |
Posted: Thu Apr 22, 2004 6:29 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
The "unknown" state is assigned to an activity before it becomes ready. Thus, all activities go into the unknown state as soon as the instance is created except for "start" activities. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
CHF |
Posted: Thu Apr 22, 2004 6:55 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Thanks for the Quick reply JMac.
Quote: |
all activities go into the unknown state as soon as the instance is created except for "start" activities. |
Can you elaborate on this? And what does it mean by "start" activities?
Last edited by CHF on Thu Apr 22, 2004 7:13 am; edited 1 time in total |
|
Back to top |
|
 |
manoj |
Posted: Thu Apr 22, 2004 7:00 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
John do you mean manual start here ? _________________ -manoj |
|
Back to top |
|
 |
jmac |
Posted: Thu Apr 22, 2004 10:59 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
There are 3 types of "nodes" or Activities in an MQWF Diagram.
Start nodes
End nodes
Others.
By Definition a Start Node is one with no control connectors going into it. What is special about start nodes is that they are put in the READY state when the instance is started.
End Nodes have no Control that flows out of them (be careful here, because an Node my be an end node in some cases and not in others due to transition conditions). What is special about End nodes is that when the last End node that can run for the instance completes, then the Instance completes
Hope this helps _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
manoj |
Posted: Thu Apr 22, 2004 11:26 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
John,
Does this mean start node is the immediate activity which comes after the "Source" and End node is the one which comes before "Sink" ?
If this is correct then there can be multiple End nodes each connected by control connectors and also connected to the sink. Still these are treated as End Nodes ?
Also if the End node is a UPES activity..will this go in to READY state before going in to RUNNING ? _________________ -manoj |
|
Back to top |
|
 |
Ratan |
Posted: Thu Apr 22, 2004 11:33 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
manoj,
There can be multiple start nodes and multiple end nodes.
End nodes are those which do not have any more control flow (control connectors) going out of them.
Does it make sense? _________________ -Ratan |
|
Back to top |
|
 |
jmac |
Posted: Thu Apr 22, 2004 11:37 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
manoj wrote: |
Does this mean start node is the immediate activity which comes after the "Source" and End node is the one which comes before "Sink" ? |
Well I guess you could look at it that way, but the better way to look at it is based on control flow like I said above. If no control flows into a node it is a Start node. If control does not flow out from a node it is an End node.
Quote: |
If this is correct then there can be multiple End nodes each connected by control connectors and also connected to the sink. Still these are treated as End Nodes ? |
There can be multiple start nodes AND multiple end nodes in any diagram. IMO multiple start nodes are somewhat rare, but multiple end nodes are very common (although generally only one End node actually runs due to conditions)
Quote: |
Also if the End node is a UPES activity..will this go in to READY state before going in to RUNNING ? |
This is a really good point. The concept of Start Nodes, and End Nodes was from FlowMark (MQWF predecessor) which did not have UPES activities, so I think you have a point here, In the case of a UPES activity that is Autostart it will not go ready.
I find this concept of Start Nodes and End Nodes quite useful, and I wish IBM had continued to speak of them in the doc. I don't think they are mentioned in the MQWF doc. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
manoj |
Posted: Thu Apr 22, 2004 11:47 am Post subject: |
|
|
 Master
Joined: 30 Jan 2002 Posts: 237 Location: Virgina
|
Thanks John & Ratan,
Good to know this..thx _________________ -manoj |
|
Back to top |
|
 |
CHF |
Posted: Thu Apr 22, 2004 12:17 pm Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Thanks to all
CHF  |
|
Back to top |
|
 |
|