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] Suspend workitem

Post new topic  Reply to topic
 [SOLVED] Suspend workitem « View previous topic :: View next topic » 
Author Message
Liquid
PostPosted: Fri Jul 27, 2007 3:58 am    Post subject: [SOLVED] Suspend workitem Reply with quote

Acolyte

Joined: 08 Sep 2004
Posts: 52
Location: Hungary, Europe

Hello!

Is there anybody who had to make a "suspendation" function for a workitem? The issue is to suspend ONLY the choosen workitem not the whole process.

I made some experiment on using input containers to set the priority and the expiration values of the workitem, but when I force restart the activity with new values, only the priority was changed. The expiration didn't change!! Why?

Is that means that even if I use expiration (based on container value) the expiration interval is not changable? It seems to me that when the workitem is created for the first time AND I give a value for the container (which is used to set the expiration value), everything is fine. The expiry is set. But when I force restart the activity with a changed expiry value, the new value is ignored.
What I don't understand is that I can change the priority in this way, so why can't I change the expiry????

Another question:
Am I right that when the activity is expired wf runtime won't consider the exit condition? (just like in case of termination, the control goes on to the next activity)

Thanks in advance,
Liquid


Last edited by Liquid on Thu Sep 13, 2007 3:59 am; edited 1 time in total
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Jul 27, 2007 6:01 am    Post subject: Reply with quote

Jedi Knight

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

I do not know what you are getting at by "suspendation" foundation for a workitem. If you have a workitem, that you want no one to work on ensure that there is only one workitem for the activity and transfer it to a dummy user.

Your issue with expiration time is the expected result, however, you can get the expiration time to reset, by having the activity inside a block which fails its exit condition, this will cause the workitem to be regenerated and it will have the new expiration time.

Your statement regarding exit conditions on expirations is correct in my opinion. You can use the _State() built in function on an transition condition to control navigation after an expired activity.
_________________
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
Liquid
PostPosted: Thu Sep 13, 2007 3:57 am    Post subject: Reply with quote

Acolyte

Joined: 08 Sep 2004
Posts: 52
Location: Hungary, Europe

Our goal was to keep the workitem at the owner user but "sleep" it until a certain date (I mean hide it from the owner's worklist). So, after the "wake up" date the workitem should be shown up again at the same user who has "suspended" it.

But, ok, thanks for the reply we decided to suspend the whole process, but I forget to post a reply


Liquid
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] Suspend workitem
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.