Wednesday, February 29, 2012

Tuesday, February 28, 2012

BPM11g - Copying and pasting activities within/between processes

This question came up during a workshop last week.

Yes, you can copy and paste one or more flow objects within a process or between
processes. Simply follow the guidelines as per section
How to Copy and Paste Flow Objects

Full 11.1.1.6 docs are available here

Monday, February 27, 2012

BPM11g - Draft activities

I add a new service task to the process from the previous post.



As worthy of a draft, the icon of the new activity is greyed.



According to the docs -

"A flow object marked as Draft means the object has a default implementation where
data object values can be set. A Draft flow object is indicated in a process by a gray icon in place of its default color icon.

Flow objects marked as Draft are considered to be unimplemented. However a process
that contains Draft flow objects can still be deployed, but a warning will be issued.
Only events and activities can be marked as Draft. Events and activities that already
have implementations defined can also be marked as Draft. Existing data associations,
however, will be removed in the implementation when you change the Draft status.
Data objects in a Draft flow object can be initialized using custom assignments in the Data Associations dialog, but implementation arguments are not available in the
dialog."

Now back to the scenario, in this process I need to call an external billing system.
Currently I do not have access to it but I have the relevant input/output xsds. So all I now need to do is to configure a default output mapping for the billing service. My algorithm is simple unitPrice * quantity * 2. Talk about markup!

I create a data object v_bill that adheres to the following XSD -



I set the output data association of the Billing activity as follows -



I then log as per the previous post -



Re-deploy and test



I log in as jcooper and approve the order



Check out the audit trail



BPM11g - Logging

Nice feature, available since the feature pack release.

Here is my test process -



I add logging info to Start -



I want to log the value of the incoming order -







I re-deploy and test the process via em



Check the audit trail -



Click on Data after output association

Sunday, February 26, 2012

Installing JDeveloper 11g PS5 SOA/BPM extensions

Download the extensions zip file from eDelivery or OTN -
ofm_jdevext_generic_11.1.1.6.0_disk1_1of1.zip

extract -



Start JDeveloper




Install as per usual -

soa-jdev-extension.zip and then bpm-jdev-extension.zip



Installing BPM 11g PS5 using XE - MDS packages error

Just installed PS5 on my Win7 laptop using my existing XE DB.
On starting WLS, I saw an error related to the MDS package -
MDS_INTERNAL_SHREDDED.
So I started JDEV and made a connection to the DEV_MDS schema via the Database Navigator.

There I saw that the 3 MDS packages were invalid -







So I just re-compiled them - right mouse click --> Compile



Then I re-started WLS