236 Implementing and Administering WebSphere Business Integration Server V4.2.2
The STATUS field in the destination business object has a particular behavior
depending on the verb of the business object. If the verb is Create, then the
STATUS field will contain the OPEN value, but if the verb is Update, then it will
To create this behavior, we create a custom rule:
1. Specify Custom as the rule for the STATUS attribute. The custom rule can be
created by entering Java code or via a graphical interface. To enter the Java
code, right-click in the rule and select View Source.
2. This opens a new window (Figure 7-34). Enter the code for a custom rule in
this window. To enter the Java code, select Tools → Edit code and enter the
code, as shown in Figure 7-34.
Figure 7-34 Using Java code for a map
3. After the Java code is entered, save it. A warning message is shown,
indicating that we are overwriting automatically generated code and asking
whether to continue the process. Click Yes to continue.