Re: R: how can i do to get activity's transitions?
David Delbecq <[email protected]> Mon, 26 Sep 2005 14:44:23 +0200
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hi Farbizio, I think it's better to list possible value on workflow variable declaration instead of trying some guessing from the Condition String. If success cab be either 1 or 0, then i suggested you use a boolean type. If the list of possible values is a short discrete list, then an enum can be the good thing. Fabrizio Corsetti a écrit : >Thank you for your promptly reply, >In a running process, I need to get transition detail of the activities reached. >More detailed I need to get, in the following code, the expression "success==1" : > ><Transition From="foo_Act7" Id="foo_Tra77" To="foo _Act28"> > <Condition Type="CONDITION">success==1</Condition> > <Description>good</Description> > <ExtendedAttributes> > <ExtendedAttribute Name="RoutingType"Value="SIMPLEROUTING"/> > </ExtendedAttributes> ></Transition> > >in this way I can visualize on the client all the possible values of the variable "success" and force the user to select only one of this. > > >________________________________ >Ing. Fabrizio Corsetti >Gruppo InIT >tel +39 075 5997279 >fax +39 075 393486 >web www.gruppoinit.it >e.mail [email protected] > >-----Messaggio originale----- >Da: Monique Maker [mailto:[email protected]] >Inviato: lunedì 26 settembre 2005 13.13 >A: [email protected] >Oggetto: Re: [shark] how can i do to get activity's transitions? > >Hello Fabrizio, > >The solution highly depends where and when you want to get the activity transitions: > - In design- or in run-time > - If in run-time, before the process is started, or after the activity is reached > >Please be more specific. > >Regards, >Monique > >P.S. By the way, all these possibilities are already discussed in this list. > >[email protected] wrote: > > >>hi all, >> >>i'm new to shark and i'm trying to taming it! >>i need to obtain the transitions associated with an activity, but looking shark's api, i have not found anything. >> >>any suggestion? >> >>thanks in advance. >> >> >> > > > > >------------------------------------------------------------------------ > > >-- >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 > >
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