Hi Marius,
On 12/4/06, Marius Erni <[EMAIL PROTECTED]> wrote:
>
> > 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'.
> >
>
>
> It means that the choice is exclusive?
Yes (and No).
Yes, because it's coded like you wrote;
(No, because "exclusive choice" is a workflow pattern corresponding to
OpenWFE's <if> expression).
If you want to "chain" participants you have to write things like :
<sequence>
<participant ref="a" />
<participant ref="b" />
<participant ref="c" />
</sequence>
The participant expression is about sending the workitem to one
participant. (though the expression map could list a participant as a
set of other participants, but the engine itself (via the
ParticipantExpression) doesn't care about such a finesse).
> If we use the $ notation we could express the field-ref and variable-ref by
> the ref attribute like this?
> <participant
> ref = ${variable-name} <=> variable-ref = variable-name
> ref = ${f:field-name} <=> field-ref = field-name
Yes, of course.
'field-ref' and 'variable-ref' exist since before the "$ notation",
maybe I should remove them, but they are quite straightforward.
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
-~----------~----~----~----~------~----~------~--~---