Hi,
I am new to openwfe. I am trying to figure out the correct syntax for
_if statement in
a class TheProcessDefinition0 < OpenWFE::ProcessDefinition

When I ran the following code, it  printed out only '8 true' ,
'9 !!!!!' not printed and participants WPS and SOS are not called.

If I remove '_if :test => "${f:status} == true"  do' and 'end' lines.
Those two participants
are getting called.

        _if :test => "${f:status} == true"  do
           _print "8 ${f:status}"

           set :field => 'task', :value => "WPS-task"
           _print "9 !!!!! "
           set :field => "p1", :value => "p1 param"
           set :field => "wps_f1", :value=>'wps_f1_value'
           participant :WPS
           SOS :activity =>'ZZZZZZZZZZZZ', :status =>'DONE'
        end

Can somebody help me out? Thanks.

Liwen


--~--~---------~--~----~------------~-------~--~----~
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