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 the terminate() call.

Post new topic  Reply to topic
 Problem with the terminate() call. « View previous topic :: View next topic » 
Author Message
kutulu2000
PostPosted: Mon Dec 19, 2005 11:24 am    Post subject: Problem with the terminate() call. Reply with quote

Acolyte

Joined: 08 Nov 2005
Posts: 63
Location: Mexico

Hi and thanx for your time.

I'm working with the Java API using the diagrams of the work items states ( MQWF Programming Guide, 660, 661, 662 ). I have an array of workitems to terminate and I verify their state before make a call to terminate.

//instanciaOriginal it's an array of ProcessInsance
if( instanciaOriginal[0].state().value() == ExecutionState._RUNNING ){

instanciaOriginal[0].terminate();

}

The API Doc says the following;

"The process instance must be in states Running, Suspended, or Suspending.
The process instance is put into state terminating as long as there are terminating non-autonomous subprocesses. When the non-autonomous subprocesses terminated, the process instance is put into the Terminated state. When the process instance has reached the Terminated state, it is deleted depending on the setting of the "delete finished items" option."

But when the workitems reached the terminated state, these don´t get deleted.

Thanx for anny suggestion.
_________________
#10
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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 the terminate() call.
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.