onsdag 19 september 2012

Populate LOV in BPM generated HT pages

Populate LOV in BPM workspace pages (HumanTask generated pages)
We want to show the case status value instead of statusID in Case HumanTask object

   In Jdeveloper create a Model project the BPM Application.


   Connect to the database where the domain values are available and accept all default settings Click Finish.
   Create a Viewobejct and it to the AppModule



   Accept all default settings Click Next then Finish
   Add the ViewObject to the AppModule


   Drag the value of the DataControl to the page and create select one choice





Select the following in the popup screen
   In the Base Data Source the payload of the object, in this case is CaseObject
   Chose Dynamic List
   In the List Data Source select the created LOV datasource
   For the datavalue select status and the List Attribute the ID from LOV
   Chose for Display Attribute the Description
   The OK


In the SelectOneChoise element set auto submit= true


You Done, now you can delete the status value which has been auto generated from the HT page.

torsdag 6 oktober 2011

Mapping users to a role in Weblogic


You will have to go to:
Home >> Summary of Security Realms >> myrealm >> Roles and Policies tab:
Expand the Global Roles tree:

take any of the available roles , let us say: Requester 
Click on the view and modify roles:
under Roles Condition : Click on Add Condition :
From the List: select Groups
Then Under the Group name type: mygroup 
Click Add
Then Choose : "or" as the to add the multiple groups to a single role.

Click on save.
you might have to restart the server after making changes to the roles.

fredag 27 maj 2011

Oracle BPM-BPEL process with correlations


This blog describes a sample application for a POC about using correlations in BPM and BPEL.


Create a SOA project



Add BPM technology to your project



Create a BPM process with these components



Create BPEL component. Select "Based on WSDL".



Add 2 input messages to your process. One to start the process and the other to continue the process.



Expose as a SOAP service



Add a Receive action to you process link it to client partnerLink.




Assign the fromAdapter to the Receive action




Create Correlation set



Add property to the correlationSet




Select de type as String




Add 2 Aliases to the property one of message type startProcess(as created before) and the other as fromAdaprt(as created before)




Add correlation to receiveInput in your BPELprocess and set initiate “Yes”





Add correlation to Receive in your BPELprocess and set initiate “no”





Add a request message type to the BPEL WSDL





Back to BPM process define input string and assign it





Configure the ThrowEvent





Assign input message





deploy and test your project.

Run process.service, you will see that it will have status running




Run bpelprocess1_client.service with the same input as process.service. don’t forget to select the correct operation!




Deploy and test your project.

·      Start the BPM process.
·      User soapUI to send input to the Master process.
·      Master process saves input in the database and starts the correlation process.
·      You should see in the BPM process that the process gets input.