Author |
Message
|
hifive |
Posted: Sat Sep 02, 2006 4:50 am Post subject: MQWF Retrieve workitem Checkin / Checkout time information |
|
|
Acolyte
Joined: 06 May 2006 Posts: 52
|
Hi
I am writing activity implementation program, where i am trying to get system member information like people, activity name,decision, activity creation time, and checkin /checkout
I request help to get decisions, activity creation time and checkin /checkout time information from MQWF activity implementation program.
Thanks
hifive |
|
Back to top |
|
 |
jmac |
Posted: Sat Sep 02, 2006 5:50 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I believe you can get all you are looking for from the Workitem object, except the decsison. I am not sure what you mean by that. IF you mean exit condition, that is in the workitem object, but if you mean Transition conditions of outgoing connectors, that is not available in workitem object and you are going to have to use the ProcessMonitor object to determine this. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
hifive |
Posted: Sat Sep 02, 2006 6:13 am Post subject: |
|
|
Acolyte
Joined: 06 May 2006 Posts: 52
|
[quote="jmac"]I believe you can get all you are looking for from the Workitem object, except the decsison. I am not sure what you mean by that. IF you mean exit condition, that is in the workitem object, but if you mean Transition conditions of outgoing connectors, that is not available in workitem object and you are going to have to use the ProcessMonitor object to determine this.[/quote]
Sure, But I actually want the [b]checkout time and checkin time [/b]of each workitem?
thx
hifive |
|
Back to top |
|
 |
jmac |
Posted: Sat Sep 02, 2006 7:30 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
OK, I didn't understand that.... so I think you are going to need to use the Audit record to get that information. There is no place where Checkout/Checkin time are stored in the Workitem object. Plus I still dont know what you mean by decision.
The Audit is documented in Chapter 8 (I think) of the Administration Guide. You will likely need to use the 21022 21023 Checkout and Checkin events. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
hifive |
Posted: Sat Sep 02, 2006 8:48 am Post subject: |
|
|
Acolyte
Joined: 06 May 2006 Posts: 52
|
Hi
Thank you John for providing the information.
First
Regarding Decision : I refer to exit and transition condition of an activity.
Actually I am using this beacuse, i want to know what decision(exit/transition) did the user took on this activity
Second
Regarding Audit :
Is it possible to reterive the check out and checkin time from audit log , if yes then is there any api's for those..
Thx
hifive |
|
Back to top |
|
 |
jmac |
Posted: Sun Sep 03, 2006 4:10 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
You can get the times you want be accessing the appropriate records. There is NO API to access the audit table, but what I do when I need to see audit records is AUDIT TO MQ. Then You will bet the audit records you cut sent to a particular queue, which you can then parse to get the information you need. See the Admin Guide for details. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
hifive |
Posted: Tue Sep 05, 2006 8:06 am Post subject: |
|
|
Acolyte
Joined: 06 May 2006 Posts: 52
|
Thx -bit clarification requested here
I belive here there is bit confusing of Audit. Let me try different approach and update you if i get the results.
Here I have a query.
As I said i have completed 70 % of my program , passing the container values [ Datastructure members ] to MQ channel But I am unable to get the activity name and exit condition value .
when i use method called allLeaves() method which in turn retrieves all predefine members like _ACTIVITY, PERSON etc.
I like to know how to retreive Activity Name and person information using the above predefined members. what method should i use to get the activity names and person , decision information . ? I found there is service.getElement() will this help me to get activity names and person information?? or is there any other methods, please let me know .
Request to help me in this regard.
hfive |
|
Back to top |
|
 |
|