Author |
Message
|
tdwells |
Posted: Wed Sep 10, 2003 10:00 am Post subject: Workflow Process not starting |
|
|
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 |
|
 |
vennela |
Posted: Wed Sep 10, 2003 10:45 am Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Wed Sep 10, 2003 10:54 am Post subject: |
|
|
 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 |
|
 |
tdwells |
Posted: Wed Sep 10, 2003 11:08 am Post subject: |
|
|
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 |
|
 |
Ratan |
Posted: Wed Sep 10, 2003 11:24 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Yes, they should. _________________ -Ratan |
|
Back to top |
|
 |
vennela |
Posted: Wed Sep 10, 2003 11:35 am Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Wed Sep 10, 2003 11:44 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Where did he say mostly UPESactivities? _________________ -Ratan |
|
Back to top |
|
 |
tdwells |
Posted: Wed Sep 10, 2003 11:48 am Post subject: |
|
|
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 |
|
 |
tdwells |
Posted: Wed Sep 10, 2003 12:00 pm Post subject: |
|
|
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 |
|
 |
Ratan |
Posted: Wed Sep 10, 2003 3:28 pm Post subject: |
|
|
 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 |
|
 |
tdwells |
Posted: Thu Sep 11, 2003 4:56 am Post subject: |
|
|
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 |
|
 |
tdwells |
Posted: Thu Sep 11, 2003 8:31 am Post subject: |
|
|
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 |
|
 |
|