|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[SOLVED] Suspend workitem |
« View previous topic :: View next topic » |
Author |
Message
|
Liquid |
Posted: Fri Jul 27, 2007 3:58 am Post subject: [SOLVED] Suspend workitem |
|
|
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 |
|
 |
jmac |
Posted: Fri Jul 27, 2007 6:01 am Post subject: |
|
|
 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 |
|
 |
Liquid |
Posted: Thu Sep 13, 2007 3:57 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|