Showing posts with label oracle bpm. Show all posts
Showing posts with label oracle bpm. Show all posts

Friday, September 18, 2015

Log Handler Pada Oracle BPM 11g

Beberapa waktu yang lalu saya mendapatkan kendala ketika mengerjakan Oracle BPM 11g. Dengan minim nya informasi log payload menyebabkan saya kesulitan mengecek input maupun output apakah sudah sesuai dengan yang saya inginkan. Setelah beberapa saat googling, saya menemukan hal menarik yaitu menggunakan log handler untuk mengatasi permasalahan yang saya alami. 

Caranya cukup mudah. Kalian bisa buat bpm process apapun bentuknya, kalau saya menggunakan Asynchronous Process dan di dalam nya hanya tersedia script task saja.


Pada bagian Start Message, saya mendefine 1 string name


Kemudian pada data asosiation nya saya memaping name tadi ke dataObjectName. Setelah selesai klik log handler.


Klik tanda tambah kemudian isi seperti berikut.




Pada bagian ini saya melakukan logging pada sebelum output association dan after association.
Jika sudah kalian bisa deploy hasilnya. Kemudian buka Enterprise Manager dan kalian pilih BPM Process yang sudah kalian buat. Klik Setting dan pilih Composite Audit level nya : Development.
Dan juga pilih Payload Validation nya Enable.




Jika sudah kalian bisa test webservice nya. Jika sudah, kalian jalan kan flow trace nya. Pada bagian Start Message yang tadi kalian akan melihat logging data yang kalian sudah buat diawal.





Sekian dahulu pada kesempatan kali ini. Semoga membantu !




Thursday, March 27, 2014

Solving Oracle BPM 11g Composite Error - Could not locate composite. Runtime Operation Error

When you've worked on many BPM composites, deploying and undeploying it over and over, someway, you could encounter this following error in the log.

<Mar 20, 2014 11:03:30 AM WIT> <Error> <oracle.soa.services.workflow.task> <BEA-000000> <<.> Could not locate composite.
Could not locate composite for workflow component default/PROJECTNAME!1.3.1*soa_1d2b1813-58f0-4264-8581-85013cd8eaba/CompositeName.
Ensure composite has been successfully deployed, and that the SOA server has completed loading composites.

ORABPEL-30084

Could not locate composite.
Could not locate composite for workflow component default/PROJECTNAME!1.3.1*soa_1d2b1813-58f0-4264-8581-85013cd8eaba/CompositeName.

Ensure composite has been successfully deployed, and that the SOA server has completed loading composites.

When you check on Enterprise Manager console (http://host:port/em), the composite is already undeployed but the workspace is still trying to find it, thus producing the following error possibilities in the BPM workspace (http://host:port/bpm/workspace):

"Runtime Operation Error"
"Could not perform the batch operation"

This thing can impact many things, starting from simple thing like user annoyance and also major thing like unaccessible Process Tracking and altering due to Runtime Operation Error.

Annoying as it is, but the solution is very simple.

Use your DB browser and access SOAINFRA schema. There, open WFTASKMETADATA table and delete any unused composite that prompt the error on the log.

Restart your MS, then try to access BPM workspace. The error will be no more.
Hope it helps!