2007/5/24, Jennifer Cranfill <[EMAIL PROTECTED]>:
>
> Hi,
>
> OpenWFE is working great! I just have a question about how to run
> automatic agents in a concurrence and still check __agent_result__
> after the merge.
>
> Currently I have 3 pyyas running in a concurrence and sometimes one of
> them will error out, but after the merge __agent_result__ will still
> be 0.
>
> I believe the other pyyas' __agent_result__ value is winning out in
> the merge. I'm reluctant to use over-if, because I still want the
> results of the other pyyas. Is there any way to have the pyya with the
> highest __agent_result__ to win in the merge?
>
> To work around this, I'm currently having my pyyas set a new variable
> (pyya_error) if they encounter a problem and using the defined check,
> but I would like to be able to use __agent_result__ for the cases I
> can't catch in pyya code (in some error cases it looks like OpenWFE
> sets __agent_result__ to -1).
Hi Jennifer,
great that OpenWFE works fine for you :)
Are the agents triggered in a concurrence or a concurrent-iterator ?
Could you copy the __agent_result__ into a specific field (unique) for
that path in the concurrence, like
<set field="__agent_result__${c:expid()}"
field-value="__agent_result__" /> or something like that ?
(functions are described at
http://www.openwfe.org/manual/ch06s11.html#id2526482)
I hope this helps, 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
-~----------~----~----~----~------~----~------~--~---