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 » [SOLVED]Force Restart

Post new topic  Reply to topic
 [SOLVED]Force Restart « View previous topic :: View next topic » 
Author Message
scar
PostPosted: Thu Jun 16, 2005 11:18 am    Post subject: [SOLVED]Force Restart Reply with quote

Centurion

Joined: 23 Jun 2004
Posts: 145

Is it safe to use Force Restart Frequently.

In our case we need to change the container Information with out Checking out the Workitem.

I am trying to implement it using Force Restart, but some how the check out Icon is disappearing after Force Restarting the work item.

Am I doing some thing wrong

workItem.checkOut();
ReadOnlyContainer inContainer = workItem.inContainer();
ReadWriteContainer newContainer = inContainer.asReadWriteContainer();
newContainer.setString("TEMP","value");
workItem.forceRestart2(inContainer);
wkItem[0].refresh();

Thanks


Last edited by scar on Thu Jun 16, 2005 12:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jun 16, 2005 11:46 am    Post subject: Reply with quote

Jedi Knight

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

Why are you doing a checkout?

You certainly do not need to do this. I also don't see how it could be the cause of your problem, but I would be curious to know if removing that checkout fixes the problem
_________________
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
scar
PostPosted: Thu Jun 16, 2005 12:26 pm    Post subject: Reply with quote

Centurion

Joined: 23 Jun 2004
Posts: 145

Thanks
Its working.
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 » [SOLVED]Force Restart
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.