ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Invoke with a java implmentation - WPS question

Post new topic  Reply to topic
 Invoke with a java implmentation - WPS question « View previous topic :: View next topic » 
Author Message
karthik
PostPosted: Thu Jul 27, 2006 7:35 am    Post subject: Invoke with a java implmentation - WPS question Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Thu Jul 27, 2006 8:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
kotha
PostPosted: Thu Jul 27, 2006 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
karthik
PostPosted: Thu Jul 27, 2006 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Thu Jul 27, 2006 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Invoke with a java implmentation - WPS question
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.