SOA Suite 11g migration to SOA Suite 12c - getCompositeInstanceId() in Mediator
Previously in SOA Suite 11g we used Composite instance ID to track requests, naturally we used:
ora:getCompositeInstanceId()
In BPEL to get the current instance ID and pass it to be saved in database. We later could use that value to search in Oracle Enterprise Manager for the Composite Instance.
SOA Suite 12c introduced the concept of Flow ID.
Now using the value retrieved by the previous operation, we cannot find the correct instances in OEM. Instead we should be using:
ora:getFlowID()
Which yields a value that is then again searchable in OEM.
However we have some simpler services that consist of just a Mediator and are passed right to an external web service reference. There we also used Mediator assign operation with Mediator extension function: