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 » Workflow Process not starting

Post new topic  Reply to topic
 Workflow Process not starting « View previous topic :: View next topic » 
Author Message
tdwells
PostPosted: Wed Sep 10, 2003 10:00 am    Post subject: Workflow Process not starting Reply with quote

Apprentice

Joined: 30 Oct 2002
Posts: 42

I have a workflow process that includes a Program Activity. I have set the Start tab to Automatic, as well as the Exit tab to Automatic. What I have noticed is that if I am in the Workflow Client monitoring the process, the process and activities will start automatically. However, when I am not logged into Workflow client, the 1st Program Activity will go to 'Ready' mode and not start until I get into Workflow client and manually start the Program activity.

My requirement is that these processes begin automatically without the need for a workstation to be logged into Workflow Client. None of my activities require human intervention, mostly upes based activities.

Any help would be appreciated.
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Sep 10, 2003 10:45 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What client are you referring to when you mean Workflow client. Is it web client?
Also, if it is UPES, then your work items should not be shown in your client at all. You should double check that your start and exit conditions are set to automatic.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ratan
PostPosted: Wed Sep 10, 2003 10:54 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

For the program activities to start automatically you need to have a PEA running under the user to which the Activity is assigned. When you are logging in to Workflow Client, you are running a PEA and so the activities are starting automatically.

Keep the PEA running for the assigned user and your activities will start automatically.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
tdwells
PostPosted: Wed Sep 10, 2003 11:08 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2002
Posts: 42

so to test this, at the unix prompt, if I issue:

fmcxspea -u=user1 -p=somepasswd -g=FMCGRP -s=FMCSYS -y=FMC &

things should fire up as suspected?
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
Ratan
PostPosted: Wed Sep 10, 2003 11:24 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Yes, they should.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Wed Sep 10, 2003 11:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

From the symptoms you mentioned YES.
But you are saying mostly UPES activities. I am wondering why you want activities run by PEA?
Even those could be UPES activities right? But ofcourse it depends on the architecture though.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ratan
PostPosted: Wed Sep 10, 2003 11:44 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Where did he say mostly UPESactivities?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
tdwells
PostPosted: Wed Sep 10, 2003 11:48 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2002
Posts: 42

Thanks Ratan. 1 last question.

We have been temporarily using the default user 'ADMIN' to log into Workflow Client. And Workflow has been assigning processes to that userid when they are fired up. I tried the fmcxspea command as described for this user (actually tried both upper and lower case for admin), but it did not work.

Do I need to specifically assign the process to this specific user within workflow in order for this to work?
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
tdwells
PostPosted: Wed Sep 10, 2003 12:00 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2002
Posts: 42

"mostly" might not have been the best phrase to use. Some of the program activities that use PEA are setup to do some evaluation of the data in the data containers before sending to the next nodes, which may do UPES stuff.
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
Ratan
PostPosted: Wed Sep 10, 2003 3:28 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

if the workitem is generated for 'ADMIN' this should work. Is your fmcxspea not working or the automatic activities are not work?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
tdwells
PostPosted: Thu Sep 11, 2003 4:56 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2002
Posts: 42

My automatic activities are not working. If I exit the Workflow client GUI and start the PEA on the unix box and then execute my java application that creates and inputs an XML document into the EXEXMLINPUTQ, the activity does not start. Then, if I get back into the Workflow Client GUI, the 1st activity is in 'Ready' state. Once I double click the item in 'Ready' state the process fires up.
The activity that is in 'Ready' state is assigned to 2 users': 'ADMIN' and 'ADMIN2' user. In the Java application, I set the userid of the message to 'ADMIN'.

The fmcxspea on the unix box was fired up using the 'ADMIN' userid.
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
tdwells
PostPosted: Thu Sep 11, 2003 8:31 am    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2002
Posts: 42

Think I found my problem. Yesterday, I was starting fmcxspea under the mqm userid. Today, I started the fmcxspea under the fmc userid and things starting working.
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
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 » Workflow Process not starting
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.