> Hello,
>
> you can nest dollar expressions:
>
> ---8<---
> concurrent_iterator :on => '${f:coauthor_emails}', :tag => 'coauthor_forms',
> :to_var => 'v' do
> concurrence do
> participant 'coauthor-${v:v}', :task => 'complete_information', :unless
> => '${${v:v}_info_present}'
> participant 'coauthor-${v:v}', :task => 'submit_copyright'
> participant 'coauthor-${v:v}', :task => 'submit_disclosure'
> end
> end
> --->8---
With this code the dollar notation doesn't seem to get evaluated. I
get this as the params for the coauthor workitems:
"coauthor-
[email protected]":null,"task":"complete_information","unless":""
And the workitem is not skipped if I launch the process like so:
coauthor_emails = "[email protected],[email protected]"
RuoteKit.engine.launch(self.pdef, {'coauthor_emails' =>
coauthor_emails, "[email protected]_info_present" => true})
If I leave out the dollar notation in the process definition and
use :unless => '[email protected]_info_present', the task is skipped for
every participant.
Can you make out if I'm doing anything else wrong?
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en