O'Reilly logo

Oracle E-Business Suite R12 Core Development and Extension Cookbook by Andy Penver

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Calling an API

We are now going to complete the workflow by adding a call to an API if the Absence Approval Notification is approved.

To add this function to the diagram, perform the following tasks:

  • Creating a function to call database package
  • Adding a function to a process
  • Testing the workflow

Creating a function to call the database package

We can add a new function to the workflow by selecting the New Function button in the Process Diagram toolbar. We are going to call an Oracle API to create an absence record for the employee.

How to do it...

To create a function to call an API, we will perform the following steps:

  1. Open the XXHRIABS workflow in the workflow builder.
  2. Navigate to XXHRIABS | XXHR Inbound Absence Process | Processes.
  3. Double-click the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required