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 » Question on Workflow instance terminaion

Post new topic  Reply to topic
 Question on Workflow instance terminaion « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Fri May 07, 2004 5:19 am    Post subject: Question on Workflow instance terminaion Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Hello,
I have terminated a workflow instance which is waiting at a upes stop.
Workflow generated a Request message to another system which is sent to say inputq "ABC" and is waiting for a response back from system. I have noticed that it was having invalid format and I have terminated the instance. Now workflow generated the following message and sent to the inputq"ABC".
Code:

  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <WfMessage>
- <WfMessageHeader>
  <ResponseRequired>No</ResponseRequired>
  </WfMessageHeader>
- <TerminateProgram>
  <ActImplCorrelID>RUEAAAABAFOAAAAAAAAAAAAAAAAABQAAAAEASsAAAAAAAAAAAAAAAAAFQQAAAAEAU4AEAAAAAAAAAABF</ActImplCorrelID>
  </TerminateProgram>
  </WfMessage>


My question is does workflow always sends the termination message to the particular queue where it sent the intial workflow message? If I want the termination messages to go to say "Termq" how to configure it? If I have to modify Buildtime model to do that, which options I need to consider?
Please let me know
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri May 07, 2004 5:31 am    Post subject: Reply with quote

Jedi Knight

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

The TerminateProgram message is sent to the same UPES Queue which got the Invoke message. I am pretty certain there is no way to change that.

Generally I ignore these messages, also there is a ProgramExpired message that can be issued, which again I generally ignore.
_________________
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
ucbus1
PostPosted: Fri May 07, 2004 6:49 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Thanks.
I have just noticed in the programming guide its the enhancement putforth since the version 3.3.0.
The program that responses to workflow is bit dumb and reads every message that comes into the queue. Now I have to ask to add some logic to recognize the termination message and forward it to my "TermQ".
Can MQSeries identfy the data content for a particular pattern and route to another queue? Unfortunately I do not have MQSI
Thanks
Back to top
View user's profile Send private message Send e-mail
TJW
PostPosted: Tue May 11, 2004 1:16 am    Post subject: Reply with quote

Novice

Joined: 11 Dec 2002
Posts: 16
Location: UK

If you define your UPES as version 3.2.2 in Buildtime then Workflow should not send ActivityExpired or TerminateProgram messages. This should save you having to modify programs.
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 » Question on Workflow instance terminaion
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.