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 » Invoking Any Program at runtime

Post new topic  Reply to topic
 Invoking Any Program at runtime « View previous topic :: View next topic » 
Author Message
djyoti
PostPosted: Thu Nov 29, 2001 11:48 pm    Post subject: Reply with quote

Newbie

Joined: 28 Nov 2001
Posts: 2

Dear All,

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 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Nov 30, 2001 8:24 am    Post subject: Reply with quote

Jedi Knight

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.

Hope this helps.



_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
djyoti
PostPosted: Sun Dec 02, 2001 9:22 pm    Post subject: Reply with quote

Newbie

Joined: 28 Nov 2001
Posts: 2

John

Thanks! You have answered my queries.

I am agree with your point that it's not possible to change pathAndFileName and WorkingDirecotryName through MQSWF Java interface.

But if we use MQSWF XML message interface for synchronous invocation

Using <ExeOptions> we can very well define <PathAndFileName> and <WorkingDirectoryName>
at runtime.



_________________
Regards
DJ


[ This Message was edited by: djyoti on 2001-12-02 21:24 ]

[ This Message was edited by: djyoti on 2001-12-02 21:29 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Mon Dec 03, 2001 8:05 am    Post subject: Reply with quote

Jedi Knight

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.



_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
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 » Invoking Any Program at runtime
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.