Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Custom Functions Overview

Custom Functions Overview

You can create and use custom functions in BPEL processes. A custom function is a POJO that implements a function context interface from Process Developer library. It also contains Process Developer annotations to register and display custom functions in the Functions list of the Expression and Query Builders.
You can create and use custom functions in one or more projects. A custom function is deployed as a project resource within a deployment contribution. Custom functions can be in the same project as your BPEL files or in referenced project. Any JAR files that support your custom functions must be in the classpath of your project.
For an easy way to implement the function context interface, create a new Java enabled orchestration project, described in Orchestration Project Templates. The required Process Developer library is automatically added to your project, as shown in the illustration:
If you have an existing Java-enabled orchestration project, add the Process Developer library as follows:
  1. Right-mouse on the project name and select
    Properties
    .
  2. Select
    Java Build Path
    .
  3. From the Libraries tab, select
    Add Library
    .
  4. Select Process Developer Library as shown in the example.

0 COMMENTS

We’d like to hear from you!