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 » Advancing control of a UPEZ Task in Error.

Post new topic  Reply to topic
 Advancing control of a UPEZ Task in Error. « View previous topic :: View next topic » 
Author Message
CSonn
PostPosted: Thu Jul 05, 2007 7:02 am    Post subject: Advancing control of a UPEZ Task in Error. Reply with quote

Newbie

Joined: 03 Jul 2007
Posts: 3

We have a Task that sends a UPES to a service. That service sends an exception if a deadlock occurs for that UPES. This causes the Task to go into error. If this happens, We would like to retry the UPES message one more time after waiting 5 minutes and if that second UPES task fails, then we need that second UPES task to stay in error so we can manually look at the UPES message. We cannot figure out how to advance control from a task in error to the next task. Is there a way to advance control from a Task that is in error?

Thanks in advance

By the way, we are using WF 3.6...
Back to top
View user's profile Send private message
hos
PostPosted: Thu Jul 05, 2007 10:37 pm    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

you could consider to use expiration. If your UPES activity usually completes within seconds, you can model an expiration time of 5 Minutes for it and continue navigation to the second UPES activity when expiration takes place.
Have a look into the Buildtime Guide for more information about expiration.
Back to top
View user's profile Send private message
CSonn
PostPosted: Fri Jul 06, 2007 10:25 am    Post subject: Advancing control of a UPEZ Task in Error. Reply with quote

Newbie

Joined: 03 Jul 2007
Posts: 3

Thanks for the reply. We have tried using expiration but the task's control will not advance. When the task goes "in error" the expiration time is ignored and the task remains in error. Is there anything else we can do?
Back to top
View user's profile Send private message
vijaycr
PostPosted: Sat Jul 07, 2007 8:01 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Oct 2006
Posts: 62
Location: Singapore

Instead of sending an Exception from the UPES service. You could have an exit condition for the UPES activity and send back a successfull message which would satisfy the exit condition. In case of an error, you can send back an error message that would not satify the exit condition.
This will cause a workitem to be created in ready state, which can then expire.

We used a nonzero RC to indicate an error in 3.5 and it worked.
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 » Advancing control of a UPEZ Task in Error.
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.