• Entries (RSS)
  • Comments (RSS)

Running a correlation set

Posted by | Posted in Websphere Process Server / Integration Developer | Posted on 23-07-2008

Tagged Under : , , , , , ,

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. Just logon to your BPC Explorer (The url will be http://localhost:9080/bpc/ unless you have changed the default port while installing the process server.). And click on ‘My Processes Templates’. It will list all the available process templates. Select your business process template and click on Start Instance. From the new page appeared enter a name for your process if you want and enter the process input message and submit. Your process will be started. The input we have given will be for the first receive activity.

Now if you look into the process state, the first receive activity will be finished and the second receive activity will be waiting in a waiting state. I.e., now the business process is waiting for the second receive activity to be invoked.

To invoke the second receive activity, click on the link ‘Started by me’

Processes started by me

Processes started by me

Click on your process instance. In my case I had given the name ‘testHello’ when starting the process. This will take you to the Process instance details page. Now click on the ‘Events’ tab.

Process Instance

Process Instance

We can see an operation is listed there. This will be the operation associated with the second receive activity. Click on that operation and we will be taken to the ‘Send event’ page.

Send Event

Send Event

Enter the name you have entered while creating the process and click on Submit.

You are done. Your second receive activity also got invoked.

Thanks Richard W Gregory for teaching me how to run a business process that is having a correlation set in it.

Share

Read More

Post a Comment