On 11/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi John,
>
> I'm working with revision 1214.
> Your fix works but a got another supprising result.
>
> The line:
> participant :ref => "logger", :msg =>"${f:supplierList.1.DunsNr}"
>
> write to the output: ZUTE8555
>
> because of this I would expect that the "then" part of the "_if"
> statement should be executed but this is not the case.
>
> What is wrong here ?
>
>       _if do
>            equals :field_value => "${f:supplierList.
> 1.DunsNr}", :other_value => "ZUTE8555"
>             #then
>             participant :ref => "logger",  :msg => "matched"
>             #else
>             participant :ref => "logger", :msg => "not matched"
>         end

Hi Andreas,

you should write :

    equals :value => "${f:supplierList.1.DunsNr}, :other_value => "ZUTE8555"

what you have written is equivalent to

    equals :field-value => "ZUTE8555", :other-value => "ZUTE8555"

which can be read as "is the value contained in the field named
'ZUTE8555' equal to 'ZUTE8555' ?"


Best regards,

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru 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/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to