IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > IBM i > Overview of WebSphere Adapter for IBM i > Technical overview
WebSphere Application Server environment variables
WebSphere Application Server environment variables can be used in the external service wizard to specify directory values. You can now change any string property values in inbound and outbound configuration by changing only the environment variables.
When you configure the adapter for inbound or outbound processing using the external service wizard, you set values for various required local files and directories. You can later change these values in the deployed application from the IBM BPM or WebSphere Enterprise Service Bus Process Administrative Console.
Starting with IBM BPM or WebSphere Enterprise Service Bus Version 6.1.0, instead of hardcoding values for Queues and Program paths, you can declare them as WebSphere Application Server environment variables and specify the environment variable names when you run the external service wizard. When you deploy your application, the environment variable name is replaced with the actual value and used by the adapter. If you want to change the property value, you can change the environment variable in the IBM BPM or WebSphere Enterprise Service Bus Process Administrative Console.
WebSphere Application Server environment variables can be used for all string property values (not Boolean or integer variables) that are set in inbound and outbound configurations.
When you create a WebSphere Application Server environment variable, you specify:
- The name of the environment variable, for example, PAYLOAD STAGING QUEUE, POLLING CTRL LANG PGM.
- The value that the symbolic name represents, for example: /QSYS.LIB/RAJAN.LIB/PAYLOAD.DTAQ, /QSYS.LIB/RAJAN.LIB/MSGQCL2.PGM.
- The scope for the environment variable, which determines the level at which the environment variable is visible in the Process Administrative Console. The scope level can be server, node, or cell:
- Server scope limits visibility to the named server. The server scope is the most specific scope for defining environment variables.
- Node scope limits visibility to all the servers on the named node. This is the default scope.
- Cell scope limits visibility to all servers on the named cell.