Hi,
 
I would like to know how to compare 2 input variables of a workflow ?
 
I have 2 var input :
$d1 = new ezcWorkflowNodeInput ( array ('d1' => new
ezcWorkflowConditionIsInteger ( ) ) );

$now = new ezcWorkflowNodeInput ( array ('now' => new
ezcWorkflowConditionIsInteger ( ) ) );

Conditions :

$c1 = new ezcWorkflowConditionVariable ( 'd1' , 

    new ezcWorkflowConditionIsEqualOrLessThan ( $now )

);

It's not ok with $now, I tried this : 

$c1 = new ezcWorkflowConditionVariable ( 'd1' , 'now', 

    new ezcWorkflowConditionIsEqualOrLessThan () );

but it doesn't work.

 

Thanks,

 

Lydia 

~maKyo

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to