Hi Marius,

On 12/4/06, Marius Erni <[EMAIL PROTECTED]> wrote:
>
>  I need some precisions for the attributes of the <participant> tag. how are
> the priorities of the fields.
>
>  How is the execution order and the priority of this attributes? Can I
> assume that the execution order is just the else-ref list prepended by ref |
> field-ref | variable-ref | default-ref like this:
>
>  execution-list = [ref | field-ref | variable-ref | default-ref | else-ref]

You should rather talk about the "evaluation order of the attributes".

It's "ref > field-ref > variable-ref", "default-ref" is used when no
ref is present and that field-ref nor variable-ref points to something
useful.
"else-ref" contains a sequence of participant that are used in case of
failure of communication with ref/field-ref/variable-ref. As soon as a
participant in else-ref gets the workitem (dispatch successful), the
participant expression is considered as 'applied'.

>  Am I all right that the attribute forget is set to true then the execution
> is like an and split, so only the first participant of the execution list is
> considered and the timeout variable is useless in this case?

Yes, you are right.

>  Definition of the attributes
>  attributes :
>          ref                reference name of the participant to dispatch
> the WI
>          field-ref         same as ref, but next participant is defined as
> field of a WI
>          variable-ref    same as ref, but next participant is defined as
> variable of the
>                             engine
>          default-ref     if neither ref, field-ref nor variable ref holds a
> participant ref
>          else-ref        comma separated list of participants name, tried
> one after
>                             an other until participant respond with success.
> timeout variable!
>          timeout        time elapsed until next participant of the else ref
> is trigger
>          forget           tells the engine to forget about a dispatched task
> and to send the
>                             WI to the next participant

So it is.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to