Deployment Configuration Properties
- Application Name
- Application Version
- Database Schema
- Data source

Properties promoted to the BAR file are typically one or more node properties that have been promoted up through the flows and subflows or a user defined property (UDP). A user-defined property (UDP) is a property that is defined when a message flow is constructed using the message flow editor and is supported by a specific variable declaration in the ESQL or Java™ code.
The typical properties for application name, application version and database schema shown above are UDPs. An example of UDP definition in the message flow editor is shown in the following figure.

In FTM, these UDP values must be used to initialize other code and variables prior to an application interacting with the database or cache APIs so it is important for top level application flows to call the correct initialization functions.
CREATE COMPUTE MODULE IdentifyChannelByName
DECLARE rEnv REFERENCE TO Environment;
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
--------------------------------------------
-- Call the Core PT Flow Initialization Code
--------------------------------------------
CALL INIT_PTF_CONST(rEnv);
.....
.....
RETURN FALSE;
END;
END MODULE;
In the case of event processing wrapper flows it is not usually necessary to do any specific initialization because the core event processing subflow does this and it is not usual to invoke application code prior to this.
| API Function | Description |
|---|---|
|
Returns the name of the database schema as a string value. |
|
Returns the name of the application as a string value. |
|
Returns the database allocated ID of the application as an integer value. |
|
Returns the application version name as a string value. |
|
Returns true if a specific application version is being executed, false if it is defaulting to the most current version. |
|
Returns the database allocated ID of the application version as an integer value. |