I have created a Simple Process Model consisting on Source Node, Program Activity and a Sink Node.
I have used dummy pathAndFileName & commandLineParameters for Program
I can able to get ProcessTemplate & ProcessIntance but unable to access the
Program data.
My questions are
1. How I can change pathAndFileName & commandLineParameters for Program at runtime using MQSeries Workflow JAVA API for com.ibm.workflow.api.ProgramTemplatePackage.ExeOptions
com.ibm.workflow.api.ProgramTemplatePackage.ImplementationData ?
2. Is it possible to change any Program Properites at runtime ?
_________________
Regards
DJ
[ This Message was edited by: djyoti on 2001-11-29 23:49 ]
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
I do not understand exactly what you are asking.
1) You can not change the name of the executable at run time. The only way this could be done would be by running an intermediary program which would then fire up the executable of your choice.
2) The only way you can change program properties at runtime would be via the Input container. And then the only property that you can change is the Command Line Parameters. You can specify that parameters be taken from the container by using the notation %Container_member_Name%. Prior to invoking the program, MQWF will substitute the value of the member.
3) The only way to access Program Data is to use the appropriate Checkout method.
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
DJ
You are going to have to explain to me how you are going to change the Path and file name at runtime. Granted that you can ignore the path and file name that is passed into your UPES by MQWF... But there is NO way that you can change the contents of the Program object in the MQWF runtime database.
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