11 May 2012

Link between Worklistapp and Enterprise Manager console

Problem Description
I want to trace the instance of BPM worklist in Enterprise manager.
Using search option given in the BPM worklist, we can easily search a specific instance in BPM worklist. But if it is faulted then how can we trace its corresponding instance in Enterprise manager console?

BPM Worklist

Enterprise Manager Console

Alternate work around:

I tried printing instance ID in BPM worklist using a form but there is not relevance of instance id between BPM worklist and the instance ID from Enterprise Manager.

The other way is by looking at the date-time stamp, but it is really painful process to track the exact instance in Enterprise manager.

Better work around:
The following query gives other details about the task basis task number from BPM worklist.
SELECT
TASKNUMBER, COMPOSITEINSTANCEID, INSTANCEID, TASKID,
ASSIGNEES, ASSIGNEESDISPLAYNAME, CALLBACKID, PROCESSID,
PROCESSNAME, PROCESSVERSION, ASSIGNEDDATE, CREATEDDATE,TITLE, USERCOMMENT
FROM wftask
WHERE TASKNUMBER = <task_number>;


Where <task_number> is the task number of BPM worklist. Using this you can easily locate the composite instance for a given task number.
In this query we get COMPOSITEINSTANCEID which is instance ID of PROCESSNAME and PROCESSVERSION which can be found in EM console under soa-infra -> default -> PROCESSNAME[PROCESSVERSION]
However INSTANCEID can be used to track down the instance in right click on soa_infra -> Service Engines -> BPEL. In the screen click on “Instances” tab. Enter the value in this and you will get the instance and other details.
Solution:
I am still looking for the easier way to trace EM instance from BPM task.

No comments:

Post a Comment