After you create the BPEL files, you can launch the
Business Process BTT Wizard from WebSphere(R) Studio Application Developer
to customize the business processes.
To customize your BPEL file with the Business Process BTT
Wizard, do the following:
- Start the Business Process
BTT Wizard. The Business Process BTT Wizard Page
1, Input the base information of BPEL extension for BTT,
is displayed.

- Select the process type for your business process described in
the BPEL file. If you select Logon Process or Logoff
Process for Process Type, Session Context Name should also be specified.
- Select the associated CHA context for the business process:
- Click the Select CHA File button to select
a CHA definition file, or click the Select GB File button
to select a Graphical Builder definition file. All the CHA contexts
defined in the CHA definition file or the Graphical Builder definition file
are displayed in the Context Name drop-down list.
Note: This step is necessary
only if you have not specified the CHA definition file from the Application
Developer preferences.
- Select the CHA context for the process from the list.
Note: If Business Process BTT Wizard is started from Graphic
Builder, the Context Name field is automatically filled with the value defined
in Graphical Builder and the field is disabled to be changed.
- In the Map List field, type in the mapping relationship between
the CHA context and process result. For example,accountNum,
TransType, sum, with a comma (,) acting as the delimiter between
every two fields.
- If the input variable and output variable in the Iaccordinglynput
Variable field and Output Variable field are not the variables you want to
use, replace the variables with those you want to use .
- If you want to backup your current BPEL file before you go on customizing
it, click the Backup BPEL File button to make a copy
of the current BPEL file now.
- Click Next. The Business
Process BTT Wizard Page 2, Set the full name of external
snippet class, is displayed.

- If you want to change the default name of external
snippet classes, double-click the ellipsis (....) in the Browse column. From
the window that opens, select the external snippet classes or input the class
name that you created before creating
the business process with the process editor. If
the input external snippet class does not exist, the Business Process BTT
Wizard will generate the corresponding empty external snippet class for you
to add the implementation code in it.
- Click Next. The Business
Process BTT Wizard Page 3, Set the navigation condition value for
snippet links, is displayed.

- For each snippet link row, double-click the Condition Value column
and set the value correspondingly. The condition value should match the process
result returned by the source snippet. In the example shown
in the screen capture above, if the InitialProc snippet returns 1, the SimProc
snippet will be called; if the InitialProc snippet returns 0, the ComProc1
snippet will be called.
Note: The condition value must be
an integer.
- Click Finish to let the Business
Process BTT Wizard customize the BPEL file according to the settings you made
just now.
- If there are compiling errors in the customized BPEL
file, add these JAR files to the build path of the project:
- bttbase.jar
- bttfmt.jar
- bttsvrflow.jar
- bttsvcinfra.jar