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 » Activity force Restart - Expirty Time problem

Post new topic  Reply to topic
 Activity force Restart - Expirty Time problem « View previous topic :: View next topic » 
Author Message
sanathkumar
PostPosted: Tue Jun 28, 2005 12:34 pm    Post subject: Activity force Restart - Expirty Time problem Reply with quote

Apprentice

Joined: 01 Jul 2003
Posts: 27

Hi

I have a situation like we set up the expirty time for the activity assume that 7 days. We set up this expiry time through container variable in Seconds.

After 2 days I need to change one of the container variable in MQ Workflow for that activity(we are storing Email address in one of the container varibale if that person left the company and need to change email address to somebody). When I do the forceRestart of the activity by updating the container variable and recalculate the expiry time and update the expiry time through container variable I am not getting the expiry time for the force restarted work item but I am able to see the updated expiry time value in the container variable.

Why it is happening like that?. Is forceRestart will not set the expiry time reset for that activity?. I am doing force restart thourgh the "WebClient" to change the container variables.

Appreciate any alternative solutions. Help need immediately as this the Issue on PRODUCTION.

Cheers,
sanath
Back to top
View user's profile Send private message
Maverik
PostPosted: Tue Jun 28, 2005 11:20 pm    Post subject: Reply with quote

Apprentice

Joined: 14 Jun 2005
Posts: 27

Hi sanath,
I had asked some question regarding the setting of expiry time on this forum and had come to know that expiry time cannot be set using java API's. I'm not sure about setting the expiry time in a variable and checking that...this might be possible.

Also if you are force restarting, r u doing a checkIn ? i.e how are u trying to update the field...is the workitem remaining in the same Activity or going to the next ??
Back to top
View user's profile Send private message
hos
PostPosted: Wed Jun 29, 2005 3:59 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

an expiration time cannot be changed once the timer has been started. You might want to look this up in the following technote:

http://www-1.ibm.com/support/docview.wss?rs=795&context=SW920&uid=swg21188010
Back to top
View user's profile Send private message
sanathkumar
PostPosted: Wed Jun 29, 2005 5:56 am    Post subject: Reply with quote

Apprentice

Joined: 01 Jul 2003
Posts: 27

Hi
I am not doing check-in. I am doing forcerestart of the same activity using webclient. If we do forcerestart in webclient that will allow us to change container values.
After I did force restart my expiry timer is not resetting and workitem remaining in the same activity and container values are changed.

According to the tech note if it is not possible to reset the timer once the timer has been started then what is the alternative solution for this problem.
Appreciate any solutions for this problem.


sanath.
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Jun 29, 2005 6:31 am    Post subject: Reply with quote

Jedi Knight

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

Sanath:

One thing I might try, but no guarantee it will work....

Instead of forceRestart do forceFinish. Have the activity alone inside a block, when you forrceFinish the activity, make sure that the block fails its exit condition. If you do the mapping properly, I don't see why this wouldn't work.... but I've never tried it. If you try this please report back the results.
_________________
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
sanathkumar
PostPosted: Wed Jun 29, 2005 1:15 pm    Post subject: Reply with quote

Apprentice

Joined: 01 Jul 2003
Posts: 27

Hi

Thanks for ur suggestion. I will suggest to change the process flow to include that activity in BLOCK with exit condition.
I tested by creating test process and it is working fine. Thanks a lot for ur suggestion.

Cheers,
sanath
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 » Activity force Restart - Expirty Time problem
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.