on 04-04-2008 12:32 PM
Hi all,
is there a possibility to query the server name where a BLS transaction is executed from within the transaction?
Use: The transaction should be able to decide if called on a test server or in production. I am looking for a logic that lets the tran know without someone having to change transaction or local properties when deploying the tran to production.
Regards
Michael
You can make use of the Global Properties I guess.
But why would a transaction have production/test server specific properties?Values definitely are different but properties?I am unable to understand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Udayan,
imagine the following situation: a BLS collects data, creates a file and FTPs the file to a server. The test on the test xMII system was ok. Now you want to deploy the BLS to the xMII production server. However, the FTP target is different in Test and Production. How would you manage it?
I am looking for a solution where I do not have to change BLS properties before deploying. The tran should know if it runs in test or production environment. So my first idea was: check the server then you can decide if Test or Production.
Are there other ideas? My main goal is that I want a transaction which can run in both test and production environment without source change, and run differently depending on the environment.
Regards
Michael
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.