Showing posts with label Adaptive Case Management. Show all posts
Showing posts with label Adaptive Case Management. Show all posts

Monday, August 18, 2014

ACM Stakeholder and SCA Organization out of sync

Upon case design for Oracle Adaptive Case Management 12c, included in Oracle Business Process Management 12c, you need to take care that the application role table (organization.xml) of the BPM/ACM service component application and case stakeholder table of the case.

In Oracle BPM Studio 12c, create a new SCA application, e.g. called MyAcmApplication.
Add a BPM project (e.g. MyAcmProject) whose composite contains case management.
Since you selected Composite with Case Management, you will be asked to provide a case name, e.g. MyCase.
Now check for the details of organization.xml of the BPM project from the Applications navigator.
Applications navigator in Oracle BPM Studio 12c

(If the Applications navigator is not already open, in 12c you can find it under Windows menu from the main navigation of BPM Studio. This is different from 11g where it was under View menu.)
Once organization.xml opened, you will notice that so fare, ony the Process Owner and the Process Reviewer application role are present for this project.
Now, go to the Stakeholder property page of the case. Open the case file from the Applications navigator (MyAcmProject > BPM > Case > MyCase). Add a new stakeholder (e.g. MyStakeholder) to the stakeholder list. Don't forget to save.
New stakeholder added to case
Switch back to Organizations tab and notice that the new stakeholder has also been added as BPM application role.
Now, go back to the case definition and delete the prior created stakeholder. Save all. Switch back to the BPM application roles. You will notice that the according application role for your stakeholder did not get deleted aswell. At this point, you are out of sync between you case definitions stakeholders and you BPM applocation roles.

Since BPM application roles are global in the OracleBPMProcessRolesApp, this makes somehow sence to prevent deletion active application roles on redeployment of BPM/ACM applications. On the other hand, deployment won't ever delet application roles from OracleBPMRolesApp. Only updation association of user and groups is possible. Therefore, during design time, this behavior is somehow unexpected.
In the end, it is no big deal since you can still manually delete the application roles. This can be done prior to deployment (so that the application roles doesn't even get propagated to OracleBPMProcessRolesApp) or on runtime using BPM Workspace. It is just something you need to be aware of.

Friday, April 25, 2014

Upgrade your Oracle BPM Studio 11g (11.1.1.7)

Just in case some of you might have missed this: When Oracle BPM 11g's MLR3 came out (finally providing a basic OOTB UI for Case Management included in the Business Process Workspace application), also Oracle BPM Studio 11g (hence: Oracle JDeveloper with the extensions SOA Composite Editor and BPMN Editor) got an update:

  • SOA Composite Editor: 11.1.1.7.0.00.08 → 11.1.1.7.0.00.97
  • BPMN Editor: 11.1.1.7.0.0.8 → 11.1.1.7.0.0.97
For example, this upgrade includes components to work with Case Management UI, e.g. to generate case data.

Just upgrade your JDeveloper with the integrated update functionality Help > Check for updates ... and reduce the selection in step 3 to Shop upgrades only.

You cannot upgrade both extensions the same time (unless JDeveloper won't warn you on that). Make sure to first upgrade the SOA extension. (Otherwise, when first upgrading BPM, you won't be able to apply the SOA update afterwards.)

You can also download the extension sources first and upgrade the extensions with the integrated functionality Help > Check for updates ... and the Install from local file in step 2.

Tuesday, February 18, 2014

Case UI browser compatibility

For Oracle Patners, Oracle provides a non-productive patch that enables an OOTB case UI in Oracle Business Process Composer 11g for Adaptive Case Management (cf. notice by Jürgen Kress).

Testing around a bit on my local environment, I was wondering why I could access this case UI but none of my case instances showed up.
Fig. 1: Case UI in Firefox 27.0 without case instances shown

Finally testing in the web browser on my linux VM where the server is running, indeed everything was there!
 Fig. 2: Case UI in IE 11 mode IE 8 showing case instances

So I guess it's about browser compatibility issues ... which is pretty much ok since the case UI is still in beta stage. Following settings have been tested by me so fare:

BrowserOSRemote/HostResult
Firefox 26.0 x86Windows 7 x64RemoteFail
Firefox 27.0 x86Windows 7 x64RemoteFail
IE 11.0.9600.16476 in Document Mode = IE 5 and User Agent = Standard (IE 6)Windows 7 x64RemoteBPM Workspace not supported
IE 11.0.9600.16476 in Document Mode = IE 7 and User Agent = Standard (IE 7)Windows 7 x64RemoteWorking, but rendering issues
IE 11.0.9600.16476 in Document Mode = IE 8 and User Agent = Standard (IE 8)Windows 7 x64RemoteWorking
IE 11.0.9600.16476 in Document Mode = IE 9 and User Agent = Standard (IE 9)Windows 7 x64RemoteWorking
IE 11.0.9600.16476 in Document Mode = IE 10 and User Agent = Standard (IE 10)Windows 7 x64RemoteWorking
IE 11.0.9600.16476 Document Mode = Standard (IE 11) and User Agent = Standard (IE 11)Windows 7 x64RemoteFailed to load Case UI, Worklist loeded
SRWare Iron 32.0.1750.1 (Chrome)Windows 7 x64RemoteFail
Firefox 24.3.0 x32OEL 6.5 x64HostWorking

Friday, February 7, 2014

Test Case Initialization with Web Service end point

The Oracle Adaptive Case Management Demo for HelloWorld introduces how to test a Case Management application by invoking a web service end point. This web service on the other hand will initiate a case instance.
Oracle promotes to invoke this web service using the test end point available at http://<your-server>:<your-port>/soa-infra/ This cause a little bit of frustration to me since this end point did not show the web service payload attributes unless I knew I implemented them.

Checking forth and back, reimplementing the web service again and again, I finally had the idea to check in Enterprise Manager ... and voila: everything there!

I don't really know why the test end point at soa-infra doesn't do the job any more or even if others faced the problem. But if ever, you run into it, you'll at least have a workaround by now.