Trixy wrote: > This code is reached only when the input variable is set by > ezcWorkflowExecution::resume().
Correct. > I mean setting a variable by ezcWorkflowExecution::setVariable(). > There is no condition check. Of course not. ezcWorkflowExecution::setVariable() is only called by the Workflow engine itself. You should not call it from outside the Workflow engine. > $set = new ezcWorkflowNodeVariableSet( > array( > 'intVar' => 'stringValue' > ) > ); > > ... > > $input = new ezcWorkflowNodeInput( > array( > 'intVar' => new ezcWorkflowConditionIsInteger() > ) > ); Now I see what you mean; you set a variable using a Set node before you require it in an Input node. I will spare you the "Why are you doing this?" question here. I will look into this. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
