2.35 Annotations Tab

Use to create annotations in all activities.

Annotations enable you to provide descriptions in activities in the form of code comments and name and pair value assignments. Instead of manually creating annotations, you can also import a file of annotations from the Preferences dialog - Oracle BPEL Designer page.

Element Description

Documentation

Enter documentation comments about the activity. For example, within the first of several scope activities, you may enter the following documentation comment to describe the phases of a hiring process:

This scope activity handles the beginning phases of a hiring process

This displays in the BPEL source code as follows:

<bpelx:annotation>  <bpelx:documentation>This scope activity handles the beginning
    phases of a hiring process</bpelx:documentation>. . .

General

Create general name and value pairs to extend attributes in activities. You create general annotations in conjunction with documentation comments. For example, you may create the following general attributes:

  • Enter Hiring Request Submitted in the Name field and Phase 1 in the Value field of one Create Annotation dialog.

  • Enter Joe Smith - manager in the Name field and Oct-10-2013 in the Value field of another Create Annotation dialog.

This displays in the BPEL source code as follows:

<bpelx:general>
   <bpelx:property name="Hiring Request Submitted">Phase
     1</bpelx:property>
   <bpelx:property name="Joe Smith -
      manager">Oct-10-2005</bpelx:property>
</bpelx:general>

Analysis

Create analysis name and value pairs for activities that an analyst can extract from the BPEL process with a business analysis tool. In this example, a human resources manager wants to know the number of new hires in the sales department for a specific month. You can enter Sales Department Hiring in the Name field and October 2013 in the Value field of the Create Annotation dialog. This displays in the BPEL source code as follows:

<bpelx:analysis>
   <property name="Sales Department Hiring">October
     2013</bpelx:property>
</bpelx:analysis>

Add icon

Click to create a name and value annotation.

Edit icon

Click to edit a selected annotation.

Delete icon

Click to delete a selected annotation.

Related Topics

BPEL Process Activities and Services in Developing SOA Applications with Oracle SOA Suite