|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Invoke with a java implmentation - WPS question |
« View previous topic :: View next topic » |
Author |
Message
|
karthik |
Posted: Thu Jul 27, 2006 7:35 am Post subject: Invoke with a java implmentation - WPS question |
|
|
 Centurion
Joined: 17 Oct 2003 Posts: 114
|
Hi All,
I am in the basic learning phase of WPS.
We have a very basic flow with one receive, an Invoke and a Reply.
The Invoke has a Java implementation.
The java implementataion has a wait implemented in it.
The one thing i have seen is that this Invoke does not show up in the "Activities" of bpc.
It only shows up after that invoke is completed.
Is there anything we have to set in the properties so that it shows up in the bpc , with the correct activity state.
Help appreciated.
Thanks
Karthik |
|
Back to top |
|
 |
vennela |
Posted: Thu Jul 27, 2006 8:43 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What is that you are trying to achieve.
I don't know the answer to your question but:
1. Instead of waiting in the java activity, use wait activity
2. If you want to see what happened, there is a check box to retain the finished processes (like in workflow). If you do that, then all the finished activities will be shown with details of each activity in the process.
3. Make it long running business process even though it is not a long running process. |
|
Back to top |
|
 |
kotha |
Posted: Thu Jul 27, 2006 8:58 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
As we see in workflow, the automatic activities cannot be shown in the monitor view. I assume the activites with java implementation is considered automatic. I am not sure. |
|
Back to top |
|
 |
karthik |
Posted: Thu Jul 27, 2006 10:55 am Post subject: |
|
|
 Centurion
Joined: 17 Oct 2003 Posts: 114
|
Thanks for the replies kotha and venny
Its interesting to know about the wait activity.
But basically i am looking to know the state of an automatic activity as kotha said , in the bpc(in the Activities of the Process instance). Whether it failed , or is it waiting/running or it completed. But for now i am able to see it only when its completed.
So, i wanted to know if there is a setting i need to know of.
Thanks
Karthik |
|
Back to top |
|
 |
vennela |
Posted: Thu Jul 27, 2006 11:46 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Here is an example of how you query the work items
Code: |
QueryResultSet result =
process.query("ACTIVITY.AIID",
"ACTIVITY.STATE = ACTIVITY.STATE.STATE_READY",
null, null, null);
|
I'll email a complete program to you.
But if you can't see in the standard web client, you may not be able to see it in the java program too. But we can definitely find out what state the activity is at that wait time. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|