icon-arrow icon-check icon-mail icon-phone icon-facebook icon-linkedin icon-youtube icon-twitter icon-cheveron icon-download icon-instagram play close close icon-arrow-uturn icon-calendar icon-clock icon-search icon-chevron-process icon-skills icon-knowledge icon-kite icon-education icon-languages icon-tools icon-experience icon-coffee-cup
Werken bij Integration & Application Talents
Blog 11/12/2013

Adaptive Case Management series – in action – part 2

In action

Webservice API

Upon adding a case management component to your composite you get an external SOAP interface for free. This interface is composed of a couple of operations that can be split in two categories. The first set of operations (i.e. startCaseabortCasecloseCase, etc.) act directly upon the case lifecycle while the second set (i.e. attainMilestonerevokeMilestone) is used for setting milestones.

This interface makes it possible to influence the case externally. You can for one start a new case with it. The different operations also enable the addition of (structured) data and (unstructured) documents to the case. For the latter you need to couple your soa server to a WebCenter Content server.

These operations all trigger default case events, lifecycle events for the case operations and milestone events for the milestone operations. These events can be used to act upon the case internally by making use of business rules.

Data/Documents

With data you can define custom business elements to a case and thereby extend the case. Data plays thus an important role in the adaptivity of ACM. You can pack your custom data in a <case:data> element in the messages that are part of the SOAP API.

In the same messages one can also include unstructured documents to add to a case. These can be e.g. pdf or word documents. You have to make a connection to WCC for this (which is beyond the scope of this series).

Activities

Another important part of a case are it’s activities. Activities are processes that can be manual or automatic. ACM support 3 types of activities:

  • BPM Process
  • Human Task
  • Custom Java

BPM process is a (semi-)automated process containing predefined steps, which are called (confusingly) BPM activities (see Oracle® Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management 11g Release 1 (11.1.1.7) for in-depth information). In WABO you can model the building permit process in BPM. Parts of this process can be automated, while parts that require human intervention, can be modelled as human tasks. Human tasks can be used to add information to a case. In WABO this could e.g. be a specialist deciding on a permit application and adding comments and outcome to the case at hand via a human task.

human task, when promoted to an ACM activity, can also be spawned directly from a case via a business rule. A human task activity can be started e.g. when extra information needs to be supplied by the applicant.

Lastly, you can also add your own custom java activity (out of scope here) to a case. All these activites combined make it possible to model a plethora of functionalities.

To promote a component to an activity it first has to be part of the case composite. A BPM process or a Human Task need therefore be defined inside the composite. For a custom java class to be promoted it also has to be visible in the case project, but this is beyond the scope of this series.

It’s not possible to promote a BPEL process or an external reference (e.g. a webservice) to an activity. Although you could wrap a service call in a BPM process, directly promoting a webservice to an activity would be a welcome addition to ACM.

Furthermore a BPM process needs an interface to be promoted to an activity. BPM processes without a WSDL, like a process with a timer or a human task as the initiator, cannot be promoted.

Overzicht blogs

Ook interessant?

Geen reacties

Geef jouw mening

Reactie plaatsen

Reactie toevoegen

Jouw e-mailadres wordt niet openbaar gemaakt.

Geen HTML

  • Geen HTML toegestaan.
  • Regels en alinea's worden automatisch gesplitst.
  • Web- en e-mailadressen worden automatisch naar links omgezet.

Wil je deel uitmaken van een groep gedreven en ambitieuze experts? Stuur ons jouw cv!