Blog Posts Process Management Service Oriented Architecture (SOA)

Oracle Integration invoking OCI Functions (python) – Part 1 Creating the python function by Niall Commiskey

Blog: PaaS Community

image

OIC is part of the OCI family, a family of rich services that can be leveraged from your integrations and processes. This post shows how easy it is to create a python function in OCI Functions. The next post will cover leveraging this python function from OIC. So to the simple use case – product discounts – the python function will apply these for me. I know it is a banal example but aren’t we all experts at extrapolating? Starting point is a simple python function I have created.

This is a simple helloWorld example, I will modify to include the discount functionality I mentioned at the outset -  the business logic is simple – If the product is iBike and the quantity ordered is > 30 then apply a 10% discount; all other others get a 5% discount. Here is the revised code – first I make a copy of the default function. Read the complete article here.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/oracle-integration-invoking-oci-functions-python-part-1-creating-the-python-function-by-niall-commiskey/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×