Re: Activity started time
Monique Maker <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hi Simon, Unfortunately getActivityCreatedTime method is implemented after version 1.0. I would propose you to download the sources for 1.1-2 and to find out how getActivityCreatedTime method works. I am almost sure that it is question of a SQL query. Then you can implement your own getActivityCreatedTime method in the sources of Shark 1.0 an recompile. By the way, if you need activity creation time in a script (or deadline), there is a (system) variable called ACTIVITY_ACTIVATED_TIME. If you need its value outside a script, you can try to copy it to a WRD and use it from there. Good luck! Best Regards, Monique David Simón wrote: > Thank you Monique, but I cannot find this method in my API, maybe it is > because I am using Shark 1.0. Sorry, I forgot to mention it. I need to > solve this with Shark 1.0 because by the moment a migration to 1.1 is > not possible. > > Best regars, > > David > >>Hello David, >> >>See >><Shark_install>/doc/api/SharkAPI/org/enhydra/shark/api/client/wfservice/AdminMisc.html - getActivityCreatedTime >><Shark_install>/doc/api/SharkAPI/org/enhydra/shark/api/client/wfservice/AdminMisc.html#getActivityCreatedTime(java.lang.String,%20java.lang.String) >><Shark_install>/doc/api/SharkAPI/org/enhydra/shark/api/client/wfservice/AdminMisc.html#getActivityCreatedTime(org.enhydra.shark.api.SharkTransaction,%20java.lang.String,%20java.lang.String) >> >>Regards, >>Monique >> >>David Simón wrote: >>> Hi all, >>> >>> >>> Anyone knows how to get the time when an activity was started? I have >>> found the last_state_tiem from WFActivity, but this time changes when an >>> activity is accepted, for instance, and I would need to know the >>> activity started time always (until it is completed or aborted). >>> >>> Best regards. >>> >>> >>> David >> >> plain text document adjunto (message-footer.txt) >> >>-- >>You receive this message as a subscriber of the [email protected] <mailto:[email protected]> mailing list. >>To unsubscribe: mailto:[email protected] <mailto:[email protected]> >>For general help: mailto:[email protected] <mailto:[email protected]>?subject=help >>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> > ------------------------------------------------------------------------ > > > *David Simón* > OPENTRENDS > phone: +34 93 320 84 14 > fax: +34 93 300 35 27 > ([email protected] <mailto:[email protected]>) >
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws