Posted: Fri May 07, 2004 5:19 am Post subject: Question on Workflow instance terminaion
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".
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
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
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
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.
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