ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]Unknown State for an activity

Post new topic  Reply to topic
 [SOLVED]Unknown State for an activity « View previous topic :: View next topic » 
Author Message
CHF
PostPosted: Thu Apr 22, 2004 6:21 am    Post subject: [SOLVED]Unknown State for an activity Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Thu Apr 22, 2004 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
CHF
PostPosted: Thu Apr 22, 2004 6:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
manoj
PostPosted: Thu Apr 22, 2004 7:00 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

John do you mean manual start here ?
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Thu Apr 22, 2004 10:59 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
manoj
PostPosted: Thu Apr 22, 2004 11:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Thu Apr 22, 2004 11:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Thu Apr 22, 2004 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
manoj
PostPosted: Thu Apr 22, 2004 11:47 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Thanks John & Ratan,
Good to know this..thx
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
CHF
PostPosted: Thu Apr 22, 2004 12:17 pm    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Thanks to all

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]Unknown State for an activity
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.