|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Convert Ready WorkItem to Running ??? |
« View previous topic :: View next topic » |
Author |
Message
|
elvis_gn |
Posted: Sat Feb 12, 2005 3:46 am Post subject: Convert Ready WorkItem to Running ??? |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
I am trying to run the fmcsiyes.exe file from the workItem.....
I want it to run automatically,but the problem i'm facing is the workItem is in Ready state snd will run only when i manually start it......
I have made the Start condition as automatic......
What do i do to make it pop up automatically.....or in other words,how to change the state of a workItem as Running automatically ( not through WorkFlow API).........?????? |
|
Back to top |
|
 |
vennela |
Posted: Sat Feb 12, 2005 10:24 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Open a command window
Type fmcsiyes.exe
What happens when you do this? If something comes up, then workflow also will pop up the program at this activity of the process.
If it says it is not recognized, then put this executable in the PATH.
I think these are required
PEA should be running (if you start the standard fat client, then PEA will be started)
In Buildtime, under the implementation tab, drill down to programs and select this particular program. In the program properties under windows tab
Path and file name should be fmciyes.exe
Start in foreground should be checked
Inherit environment should be checked
Style should be visible |
|
Back to top |
|
 |
elvis_gn |
Posted: Sat Feb 12, 2005 11:16 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
I noticed that if i manually start the workFlow instance the fmcsiyes.exe is starting automatically(it is in the first workItem after starting the instance)......
But i have to start the workFlow with a JAVA application......there i am doing a [b]es.logon2( , , ,) [/b] and a [b]es.signOff()[/b]
This is creating a problem....the workItem comes to ready state......
One of the pdf's said that if the user is not logged on at the time the workItem is supposed to start,a manual start will have to be done....This i found was true.....i manually started and the program ran.......
I have tried not logging off in the JAVA application but no respite......
I also tried starting that workItem from the JAVA application itself.....but it tells me I'm not Authorized
I tried making fmcsiyes.exe a support tool and starting it, but i get a [b]"The PEA USERID.FMCGRP is not available"[/b]
Please help....... |
|
Back to top |
|
 |
vennela |
Posted: Sun Feb 13, 2005 12:51 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
For java implementation of a program activity there is a sample in
<WMQwf Install Root>\SMP\java\actimpl
FDL also is supplied along with the program.
For me it is in C:\Program Files\IBM WebSphere MQ Workflow\SMP\java\actimpl |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|