Websphere Process Server / Integration Developer Archive

Creating a Business Calendar in WebSphere Integration Developer 6.1.2
Recently I had bogged about the Business Calendar’s in WID 6.1.2. Today I will be explaining how to create a Business Calendar in WID 6.1.2. Business Calendars are a new feature introduced in WID 6.1.2.
Following are the steps required in creating a Business Calendar.
1. Right click [...]

My last post talked about setting a custom attribute for a human task. Today I will be talking about querying the human task using EJB API based on the custom attribute. The complete code for querying the human task based on custom property is given below.

javax.naming.Context ctx = new javax.naming.InitialContext();
Object result = ctx.lookup("com/ibm/task/api/HumanTaskManagerHome");
[...]

Have you ever come across a situation where you want to get a specific task instance based on some input data? For eg, if you have an order task, you may want to retrieve the human task based on the order Id. The order Id will be part of the business object and will be [...]

Today I want to introduce an exciting new feature of WID 6.1.2 that I came across while reading a developer works article http://www.ibm.com/developerworks/websphere/library/techarticles/0807_fasbinder1/0807_fasbinder.html?S_TACT=105AGX01&S_CMP=HP&ca=drs- .
In WebSphere Integration Developer 6.1.2 we have the option to create a business calendar which is very crucial when we deal with human tasks. I haven’t upgraded to WID 6.1.2 yet. [...]

Running a business process that contains correlation set.
My previous post was about creating a correlation set using WID. Today my post is about running a correlation set using BPC explorer. Unlike running a process or human task, running a process that contains the correlation set is little tricky.
Starting a business process is straight forward. [...]

This is something I was planning to post for a long time. Due to some or other exceptions I was getting, I couldn’t make it till today. Today’s post is about creating a correlation set in WebSphere Integration Developer. In my example I used a new module for creating the correlation set.
A correlation set [...]

Another exception with correlation sets. This exception comes if initiation property of correlation set is set to No. The exception stacktrace is

com.ibm.bpe.api.CreateRejectedException: CWWBA0140E: No process instance found for the process template ‘XXXX’ and createInstance is false for port type ‘{http://XXXX/XXX}XXX’ and operation ‘XXXX’
at com.ibm.bpe.engine.BpelEngineCore.createAndStartProcessInstance(BpelEngineCore.java:513)
at com.ibm.bpe.engine.BpelEngine.createAndStartProcessInstance(BpelEngine.java:188)
at com.ibm.bpe.framework.sca.ProcessSessionBean.createOrFindInstance(ProcessSessionBean.java:1429)
at com.ibm.bpe.framework.sca.ProcessSessionBean.invokeEngineSync(ProcessSessionBean.java:911)

The solution for this problem is to change the [...]

CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method “bpc_invoke” on bean “BeanId(XXXApp#XXXEJB.jar#component.XXXX, null)”. Exception data: com.ibm.bpe.database.TomDuplicateKeyException: (com.ibm.bpe.database.CorrelationSetInstanceB: PNUDx)
This is the exception I got when I tried to send an event to an operation. The complete stacktrace of the application is

CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "bpc_invoke" on [...]

Invoke Activity
As the name suggests Invoke activity of WebSphere Process Server or WebSphere Integration Developer is used for invoking services that are not part of a business processes. The Invoke activity would call an operation of another service. These services can be web services, human tasks etc. An Invoke activity needs a reference partner which [...]

Reference Partners
A business process in WebSphere Process Server may need to invoke some services that are not part of the business process design. These services can be external services that implement business logic or a human task that performs some action. In any case these services or human tasks are not part of the business [...]