|
From: Daniele <d.t...@ic...> - 2002-12-10 16:17:35
|
On Tuesday 10 December 2002 17:05, Roberto Borgotallo wrote: > Hello > > > > I am currently doing some experiment with the new Openflow version 1.0.2 > and I've discovered that the feature "xor split" doesn't work at all. I > have manually created an instance, then added the attribute I decided to > call "gothere" assigning for example the value "left". > > On the process schema I have created of course an activity, say > "Activity_A" with xor split enabled and 2 different transactions coming out > with conditions : instance.gothere=='left' and instance.gothere=='right' > going towards activities "Activity_B" and "Activity_C". > > Proceeding with the flow of the instance I get the error message : > > <Zope has encountered an error while publishing this resource.Error Type: > CompilerError Error Value: Invalid variable name "instance.gothere=='left'" > > > > I tried instead with the old OpenFlow version 0.7.2 and it works well, > Could someone tell me if is there a work-around or is definitively a bug of > this release ? Actually the expression you write has to be a TAL expression (like in page templates). So you need precede your condition with"python:" like in: python: instance.gothere=='left' I hope this helps. Daniele =) |