Author |
Message
|
vijpan |
Posted: Wed Jul 19, 2006 3:15 pm Post subject: [Solved]Empty Activity |
|
|
Novice
Joined: 14 Feb 2005 Posts: 22
|
Hi,
We have the following configuration.
MQ Workflow Server Box - Aix 5.3
MQ Workflow 3.6 SP 2
MQ Series 6.0
MQ Workflow Client Box - Windows XP
MQ Workflow Client 3.6 SP 2
MQ Series Client 6.0
I created a sample process with 2 program activity.
The user assignment is dynamic and from container variable.
I created an empty activity for the first program activity making use of FMCINTERNALOOP ..with activity start as manual -- with no program associated with it.
I am able to run the fmcibie without any error but 1 warning that there was no program associated with that activity
These are steps which am doing through the java program.
a)Created and started the process instance and provided the input container value for the dynamic user assignment -- this step runs fine -- and the workitem is now owned by this dynamic user -- with state being "Ready"
b) Now i want to start this workitem - logged in with the owner of the workitem --- but there comes an error on the server log and it says
FMC01012E No pgm defined for this activity and platform
I am doing the above step so that i can be able to provide the user for the second activity -- as soon as i start this activity - being an empty activity it should finish -- before this i am setting the outconatiner value with the userid for whom the second activity workitem should get assigned to?
Am i logically wrong? or i am missing something else.
Thanks
Vijay
Last edited by vijpan on Wed Aug 02, 2006 1:31 pm; edited 1 time in total |
|
Back to top |
|
 |
jmac |
Posted: Wed Jul 19, 2006 4:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I think the issue is because you are using FMCINTERNALNOOP. Create another program activity, and have it point to any executable on the box you are using. Then when you attempt to start the activity, this program should run. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vijpan |
Posted: Thu Jul 20, 2006 6:16 am Post subject: |
|
|
Novice
Joined: 14 Feb 2005 Posts: 22
|
I really want to make use it as an empty activity and this is easily done by FMCINTERNALOOP...i dont want to run any program associated with it.
any other hint guys.
Thanks |
|
Back to top |
|
 |
jmac |
Posted: Thu Jul 20, 2006 6:31 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
It is my opinion that you are mis using the empty activity, and that is likely the cause of what you are seeing. It is also possible that I just don't understand what you are trying to do.
If you really want to use the empty activity, have a look at the doc on how to use it properly:
http://www-1.ibm.com/support/docview.wss?uid=swg21078709&aid=1 _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vijpan |
Posted: Thu Jul 20, 2006 7:56 am Post subject: |
|
|
Novice
Joined: 14 Feb 2005 Posts: 22
|
Thanks jmac for the reply. Yep it was getting misused as there is a restriction the empty activity that it cannot be used as a "manual" start. |
|
Back to top |
|
 |
jmac |
Posted: Thu Jul 20, 2006 8:24 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
vijpan wrote: |
Thanks jmac for the reply. Yep it was getting misused as there is a restriction the empty activity that it cannot be used as a "manual" start. |
SO, the moral is READ THE DOC. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|