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 » problem with ActivityImplInvokeResponse

Post new topic  Reply to topic
 problem with ActivityImplInvokeResponse « View previous topic :: View next topic » 
Author Message
rog552003
PostPosted: Mon Dec 19, 2005 3:16 pm    Post subject: problem with ActivityImplInvokeResponse Reply with quote

Novice

Joined: 11 Dec 2005
Posts: 11

Hi!! I'm a develper from Mexico, and I have a problem with ActivityImplInvokeResponse, the problem is the following:

I have an activity that inovkes an UPES, so i receive the message from Workflow when it gets executed (ActivityImplInvoke), then I try to answer with the ActivityImplInvokeResponse message, in order to continue with the diagram. But sometimes (just sometimes), the workflow doesn´t "receive" the message, it takes it, but it doesn´t continue with the flow, it stays there (like if i never put the message in the queue), but i did, and sometimes it works.

Is there any way to catch some kind of acknowledge to ActivityImplInvokeResponse, in order to know if WF found any problem in the message, or any other thing? Is this problem familiar?

I would appreciate any help you can give me,

Thanks!!!!!
Back to top
View user's profile Send private message
sanathkumar
PostPosted: Tue Dec 20, 2005 7:38 am    Post subject: Reply with quote

Apprentice

Joined: 01 Jul 2003
Posts: 27

Hi

Please make sure you are included following tags in your response message (XML) to MQ Workflow

<ResponseRequired>No</ResponseRequired>
<ProgramRC>0</ProgramRC>
<ActImplCorrelID>RUEAAAABAIsAGQAAAAAAAAAAAAAAKAAAAAEAigAHAAAAAAAAAAAAAAAoQQAAAAEAiYAGAAAAAAAAAABF</ActImplCorrelID>

<ActImplCorrelID> same as what u get from MQ Workflow.

You can see more in Systemlog for errors occurred in response message.

If you want response from MQ Workflow, i hope you need to do following at header level (just idea)

<ResponseRequired>Yes</ResponseRequired>
You need to give <ReplyToQ> where workflow supposed to sent reply.

Cheers,
sanath
Back to top
View user's profile Send private message
jmac
PostPosted: Tue Dec 20, 2005 4:16 pm    Post subject: Re: problem with ActivityImplInvokeResponse Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

rog552003 wrote:
Is there any way to catch some kind of acknowledge to ActivityImplInvokeResponse, in order to know if WF found any problem in the message, or any other thing? Is this problem familiar?


As was already suggested you should check the system log (fmcsys.log), if there was any problem with the message you would see it there.

This type of issue should not happen intermittently, once you have the messages formatted correctly they should always work in my opinion.

IIRC, the <ResponseRequired>Yes</ResponseRequired> does not force MQWF to send a response, it will only send one if there is an error.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
rog552003
PostPosted: Wed Dec 21, 2005 8:56 am    Post subject: OK, new error Reply with quote

Novice

Joined: 11 Dec 2005
Posts: 11

Thanks for the advice! when i check the log, it says:

InvokeProgramResponse could not be processed because of a database deadlock or timeout
But there is no other program using this DB2, why does this happens? Any ideas?

Thanks!!!!
Back to top
View user's profile Send private message
kotha
PostPosted: Wed Dec 21, 2005 10:27 am    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

are you able to open build time and run time ??. I assume the issue is with the DB2. in what domain you installed the DB2. if it is other domain, did you install client to access the DB2. and also check the DB2 logs.

post the XML message you recived into the queue from the workflow.
Back to top
View user's profile Send private message
hos
PostPosted: Wed Dec 21, 2005 11:51 pm    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

You may also check and perhaps increase the transaction timeout setting of your database.
Back to top
View user's profile Send private message
rog552003
PostPosted: Thu Dec 22, 2005 10:13 am    Post subject: Reply with quote

Novice

Joined: 11 Dec 2005
Posts: 11

BuildTime and Runtime are working properly, i belive that the problem is in the configuration of the DB2, because i test it in another server, that i configured myself, and it works properly... thanks for the advice, i believe i will ask for a reconfiguration of the DB2 server i'm testing.

Thanks!!!
Back to top
View user's profile Send private message
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 » problem with ActivityImplInvokeResponse
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.