Posts Tagged ‘bpm’

In this post I will explain, how in a simple way you can use managed bean to perform a binding operation.
In case of using ADF for managing Human Task flows (BPM process), you sometimes want to perform post/pre actions to the native operation.
For example: you want the user to press the approve action, and in the background you want to call a Web service for some validations.
Here is how you do it:

  1. Create a bean method by double click the action button, or manually create a class with the required method:beanto copy:
    public String approveAction() {
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding validateNameOP = bindings.getOperationBinding("validateName");
    Object resultCommit = validateNameOP.execute();
    if (!validateNameOP.getErrors().isEmpty()) {
    return null;
    AttributeBinding status =(AttributeBinding)bindings.get("status");
    if (status.getInputValue().toString().equalsIgnoreCase("Y")){
    OperationBinding operationBinding = bindings.getOperationBinding("APPROVE");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    System.out.println("inside error");
    return null;
    return null;
    return "refreshTaskFlow";
  2. Declare the bean in the action listener property of the command button:approve-button

That’s it.

Just be sure, that both APPROVE & validateName operations are declared in the binding. Or else you will get nullPointerException.

Good Luck

Read Full Post »

So, I’m back again after a long time I haven’t posted anything new. Sorry for that…
First, I’m glad to announce my new position as BPM & SOA Director at  SangIT.
I’m inviting you to visit our site, and I will be more than happy to view your comments.

The  Oracle Technology Day conference took part yesterday (Monday, July 1st 2013) in Israel (Airport City). It began with a welcome greeting by Moshe Horev (VP & Oracle Israel MD), followed by some distinguish guests:

  • Innovation in Practice – Andrew Sutherland, SVP Technology, Oracle EMEA
  • Oracle Embedded Technology, From Device to Data Center – Chris Baker, SVP, worldwide ISV&OEM Sales
  • “Shaping the Future”, Sinai Bareket, Managing Director Intel Israel Sales and Marketing

Later on, different courses were held:

  • Infrastructure
  • Business Analytics
  • Big Data
  • Fusion Middleware
  • Databse
  • Hands On(Demo Ground)

We were happy for the opportunity to participate in the demo ground were all the participants could experience the technological fields.
SangIT’s Demo Ground, based on Oracle BPM 11g. We’ve demonstrated the various components of Oracle BPM Suite 11g, and mainly focused on one of the feature from version: BPM Composer, and its’ ability to develop and shape a Web Form with no need of a developer tool (I will elaborate on it in the following posts).

Arik And Humi
On the right: Humi Kazaz(CEO at SangIT)
Arik And Avi
On the right: Avi Hamoy(CTO at SangIT)

To summarize, the conference was great, and we were happy to took part in it.


Read Full Post »