On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I found one reason of the problem.
> Below :on_value => "${f:comp}" does'nt work as exspected because
> I make a false assumption.
> I thought that the field comp is part of the current workitem.
> The participant "call" companyDefiner implicite 'consume' the field
> comp.
> If I comment the line with "companyDefiner" out then :on_value => "$
> {f:comp}" is working properly
> Is it normal that workitem fields are lost leaving a participant ?
No.
> What is the scope and the lifetime of workitem fields ?
Scope : the workitem. Lifetime : as long as not erased from the workitem.
> Are there different scopes or lifetimes of workitem fields ?
No. But when you use a concurrence, there is a workitem for each
branch of the concurrence.
There are rules about how workitems are merged back (into one) at the
end of a concurrence or a concurrent-iterator (please read
http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/ConcurrenceExpression.html)
Maybe your issue is about defining a field in a concurrence branch...
But I've reread your code example and the field "comp" is set at the
end of the process definition, it's thus not visible.
Your "companyDefiner" participant seems not to touch your "comp" field at all.
Sorry not to be able to help you more. I tried to reply in the best
way possible with your given input.
> This is potentially also related to my previous question:
>
> Are somewhere some examples using complex dollor notations to access
> a value in a complex workitem attribute ( a array of hash maps )
> within the process definition ( usefull in "if", "case", ...
> expressions ) ?
I replied to that at :
http://groups.google.com/group/openwferu-users/msg/5f9037b8f7889e17
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
-~----------~----~----~----~------~----~------~--~---