How to pass Global Variables to BW Engine from command line.
book
Article ID: KB0086580
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: The way you can do it is described below:
You just have to give an argument in format like:
-<propertyName> <propertyValue>
i.e : -tibco.clientVar.MYTEST yourSubstitionValue
While starting the BW Engine, so for example in attached test case there is a Global Variable 'FromCMD' - so if want to override a default value in designer that is set to 'DesignValue' to something else at run time I just have to do something like
So now Engine will have a modified value of FromCMD in it .
To, test it run the attached Project as shown above and then to trigger it send a tibrv message as :
tibrvsend -test.cmd Test
And, it will show the new value of Global Variable as 'FromCommandLine' - if you don't pass Globla Var value at startup it will print value 'DesigneValue' which is stored in designer.
Issue/Introduction
How to pass Global Variables to BW Engine from command line.
Attachments
How to pass Global Variables to BW Engine from command line.
get_app