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 » How to contact execution server to set a container value

Post new topic  Reply to topic
 How to contact execution server to set a container value « View previous topic :: View next topic » 
Author Message
waleed_elshenawy
PostPosted: Sun Jun 20, 2004 5:33 am    Post subject: How to contact execution server to set a container value Reply with quote

Newbie

Joined: 07 May 2004
Posts: 2

Hi all,
would you tell me how i can contact execution server to set a container value for CHECKED_OUT workitem without checkin, as you know setting this container value changes the value in the API cache only.
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Sun Jun 20, 2004 7:32 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

If you don't want to checkin then look at the "forcerestart2(incontainer)" API
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Sun Jun 20, 2004 7:40 am    Post subject: Reply with quote

Jedi Knight

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

Not sure I understand the question... but this is what I am hearing: I want to update the container value of a CHECKEDOUT workitem without doing a checkin.

Waleed: It is my opinion that this is not possible.

Manoj: Issueing ForceRestart2() will take the item out of the Checked out state.
_________________
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
manoj
PostPosted: Sun Jun 20, 2004 7:54 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

of course it will ....i thought he's worried about the flow going forword with a checkin...may be i guesses incorrectly
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
waleed_elshenawy
PostPosted: Mon Jun 21, 2004 12:20 am    Post subject: Reply with quote

Newbie

Joined: 07 May 2004
Posts: 2

Thank you all for the reply,

using forcerestart2(inContainer) will solve this but this raises another problem for that i want to know when i checkout the workitem and when i checkin it for reporting purpose, i will tell you the whole Scenario

1. An Employee checkout a workitem and then do some work related for this work.

2. Employee saves a parameters in the workitem container while doing his job.

3. If Employee finishes his work, he will checkin the workitem, so the container will be updated successfuly

4. If Employee didn't finish his work, he will save his work and the parameters and then leave the application.

5. In Next Day , the employee queries on the workitems and gets the workitem that he was working in the last day, and he want to continue the work, and the parametrs in the container will updated as he left it the last day.

6. The manager want to know how long the employee takes to finish his work, so issuing a forcerestart2(inContainer) for every save will make this period is wrong.
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Mon Jun 21, 2004 4:54 am    Post subject: Reply with quote

Jedi Knight

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

Use a checkin, but set an exit condition that Fails. This will put the item back to a ready state.

I really don't understand thought. If you want to know the total working time, you need to look at the audit trail, and even using forceRestart you can still calculate the total working time. If you use Checkout/CheckIn you would use the 21022/21023 records. If you use Checkout/ForceFinish you use the 21022/21013 records.
_________________
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
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 » How to contact execution server to set a container value
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.