|
From: Hugo A. C. B. <hco...@pr...> - 2003-01-07 22:56:10
|
Roberto: I think the problem is in expression.py module include in Openflow I resolved this problem, installing the CMF 1.3 Core products, you can download from http://cmf.zope.org/download/CMF-1.3 I hope this helps. Hugo > Hello again > I tried your solution but another error comes saying "Error Type: >AttributeError > Error Value: Context instance has no attribute '__setitem__' " > I remember you that I use the interactive interface to define the static >structure of the >process so also the condition for transactions ( it's the only way I know). > Thanks anyway > bye > Daniele <d.tarini@ic...> wrote: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 : > > > 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 =) |