Hi John,

we have followed your tip, but using:

   <set-fields>
     <hash>
       <entry>
         <string>p_01</string><string>value0</string>
         <string>p_02</string><string>value1</string>
       </entry>
     </hash>
   </set-fields>

we get this error:

class: RuntimeError
message: apply
stacktrace:
exception : unknown expression 'hash'
.../vendor/openwfe/expressions/raw.rb:96:in `instantiate_real_expression'
.../vendor/openwfe/expressions/raw.rb:134:in `apply'
.../vendor/openwfe/expool/expressionpool.rb:885:in `send'
.../vendor/openwfe/expool/expressionpool.rb:885:in `do_apply_reply'
.../vendor/openwfe/util/workqueue.rb:73:in `send'
.../vendor/openwfe/util/workqueue.rb:73:in `service_init'
.../vendor/openwfe/util/workqueue.rb:65:in `loop'

Any hint?

Thanks, and regards,

Emilio

-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de John Mettraux
Enviado el: martes, 20 de enero de 2009 15:19
Para: [email protected]
Asunto: [openwferu-users] Re: Workflow start-up time


On Tue, Jan 20, 2009 at 11:06 PM,  <[email protected]> wrote:
>
> set-fields seems like a good idea, it seems appropriate for our
situation,
>
> But... how would you write it in XML notation?
>
> <set-fields value="..." />

Ah yes, this is not documented, but you can do :

<set-fields>
  <hash>
    <entry>
      <string>field0</string><string>value0</string>
      <string>field1</string><string>value1</string>
    </entry>
  </hash>
</set-fields>

(I will document that
http://rubyforge.org/tracker/index.php?func=detail&aid=23627&group_id=2609
&atid=10195)


Thanks, don't forget to look at the other improvement points and to
share your discoveries.

-- 
John Mettraux   -   http://jmettraux.wordpress.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ruote (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