Skip to main content

Posts

Showing posts with the label Oracle BPM 11g

Send and Receive Task example in Oracle BPM

This post talks about Oracle BPM process communication with Asynchronous service. When we talk about BPM process communication with other processes or services, Those processes or services can be synchronous or asynchronous. Synchronous process/service can be invoked with Service Call flow object in Oracle BPM. It will be a straight forward approach,just by adding WebService adapter at external references and using service task to invoke the service. In case of Asynchronous process /service,we must use send /receive task or throw/catch message events when designing flows in BPM. Summary : Asynchronous process wont wait for response to be returned immediately. As soon as its been invoked ,the process will be running in the background.Its the responsibility of calling process  to make sure to look for callback response from asynchronous process for the sent request. In order to identify the correlation between request and response , the design has to be made in such a way to use

Write Java Code inside XSL of Oracle BPM

This post talks about writing custom xsl functions using Java in Oracle BPM process. Please check my previous post on creating custom XSL functions in Oracle SOA/BPEL process. Below example explains about creating XSL function for finding age of person based on Date Of Birth input. Step1 : Create a BPM Synchronous process inside Jdeveloper BPM studio.Something like shown in below. I took very basic example,since the main aim is to create Custom XSL function based on Java code.    i) XSD created to handle input and output of BPM process is :   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 <?xml version="1.0" encoding="windows-1252" ?> <xsd:schema xmlns:xsd= "http://www.w3.org/2001/XMLSchema" xmlns:tns= "http://ande.prabhas.org/xsd/v1" targetNamespace= "http://ande.prabhas.org/xsd/v1" elementFormDefault= "qualified" &g