Author |
Message
|
sarasu |
Posted: Thu Jun 15, 2006 11:29 am Post subject: Difference betweem Checkout and start of WorkItem? |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
What is the Difference betweem Checkout of a workItem and start of WorkItem? When a person checkout a workItem, state fo that workitem is "CheckedOut" what are the chances of getting that workitem back into "Ready" state?
Any replies are appreciated. |
|
Back to top |
|
 |
Ratan |
Posted: Thu Jun 15, 2006 1:09 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
search in the forum and this has been answered multiple times.
Checkout is done with the Webclient interface. If a workitem is checked out then checkin needs to be done to complete the workitem.
Start is issued for when a program needs to run for a workitem in a PEA and is used with the fatclient implementations.
If an Item is in Checkedout state, a cancel checkout needs to be done to get the workitem back to ready state. Refer to the Workitem state diagram in the programming guide. _________________ -Ratan |
|
Back to top |
|
 |
sarasu |
Posted: Thu Jun 15, 2006 1:19 pm Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
Thanks for your reply. I found this in the Programming Guide as well. If the workitem is checkedout by the owner of the workitem(Not the Admin), is admin can cancel that checkout?
Cancel checkout should be done by the owner of the workitem or Admin can also do that?
If i assign a workitem to a user, he checkedout that workitem and didnot checkin back. In this situation we need to cancel that checkedout workitem(from the User) and make this workitem to be in ready state.
Do you think it is possible? |
|
Back to top |
|
 |
vennela |
Posted: Thu Jun 15, 2006 2:13 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I think that it is possible |
|
Back to top |
|
 |
hos |
Posted: Fri Jun 16, 2006 4:36 am Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
Hi,
this is one of the most common patterns in MQWF and has been answered over and over again. As the Programming Guide states, only the owner can cancel a Checkout. If this is not possible the ADMIN can forceRestart the workitem and transfer it to the appropriate user. |
|
Back to top |
|
 |
sarasu |
Posted: Fri Jun 16, 2006 6:38 am Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
Vennela,
please tell me how is this possible?
Hos,
"Only the owner can cancel checkout" i agree with you. But "if not Admin can force restart" is a false statement. I checked with my application as well as with webclient. It is not possible. Only with Fatclient( Workflow runtime) it is possible, but by that time the state of the workitem is not "checkedout". It is only in "running" state. |
|
Back to top |
|
 |
jmac |
Posted: Fri Jun 16, 2006 6:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
sarasu wrote: |
But "if not Admin can force restart" is a false statement. I checked with my application as well as with webclient. |
Check again... one thing you will find is that if Hos says it's so... it IS so.
Just so you don't spend hours on this.... Fire up the monitor from the thin client as admin and you will see how to Force Restart the activity.
One additional point... perhaps you don't understand the relationship between ActivityInstances and WorkItems.... it would be well worth your time to understand this. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
mqmaniac |
Posted: Fri Jun 16, 2006 7:56 am Post subject: |
|
|
 Master
Joined: 27 Dec 2005 Posts: 201
|
Jmac,
Can you Pls explain what do you mean by
"Fire up the monitor from the thin client as admin and you will "
I have a web client and Thick client..Is Web Client the Monitor..
I can only view the Input Output Containersusing this till now..
Did I miss Anything Regarding " Monitor Tool in Workflow" |
|
Back to top |
|
 |
jmac |
Posted: Fri Jun 16, 2006 8:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Process Monitor is in the both Thin (or Web) Client and Fat Client. ONLY the Process Monitor from the Thin client allows you to ForceRestart Activity Instances. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
sarasu |
Posted: Fri Jun 16, 2006 10:14 am Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
If you follow from the beginning, I mean to say, "If not,....... ADMIN can force restart" is the false statement.. I tried this out on webclient. I am not getting any chance to do anything on that checked out Workitem, even if i logged in as an Admin. I found two double arrows besides that workitem. Is that means admin also cannot do anything wasn't it? |
|
Back to top |
|
 |
jmac |
Posted: Fri Jun 16, 2006 10:22 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
ADMIN can MOST DEFINITELY issue a Force Restart on the activity instance
If you read what I wrote you will see that you CAN do what you are trying to do.... WHY do you assume that you will do this from the
worklist... NO ONE ever said that. PLEASE READ what I wrote _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|