Skip to Content
Jun 25, 2008 at 09:31 AM

Identification Test- and Production-System in Mapping



we have a Java-function in a mapping step.

There we need an identification if it runs in our Test- or Production-system.

Currently we use a property file in the Java-Package for realizing this.

But this is not a very good solution. The last time we transport the archive to our production system somebody forgot to change this property file and therefore we had some trouble in our production.

Does anybody have an idea how we can identify the system name of the XI-system in a Java-Mapping?

Is there perhaps any constant we can use of the Map input-parameter?

In the documentation I didn't found anything about this.

Best Regards,