$process->addVariable($variable5);
$process->save();
$sequence = new Ezer_PropelSequence();
$sequence->setName('main');
$sequence->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$sequence->setContainer($process);
$sequence->save();
$activity = new Ezer_PropelActivityStep();
$activity->setName('Begin Message');
$activity->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$activity->setClass('SayActivity');
$activity->setArgs(array('beginMessage'));
$activity->setContainer($sequence, 0);
$activity->save();
$if = new Ezer_PropelIf();
$if->setName('If');
$if->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$if->setCondition('$condition == 3 && $expression');
$if->setContainer($sequence, 1);
$if->save();
$activity = new Ezer_PropelActivityStep();
$activity->setName('If Message');
$activity->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$activity->setClass('SayActivity');
$activity->setArgs(array('ifMessage'));
$activity->setContainer($if);
$activity->save();
$activity = new Ezer_PropelActivityStep();
$activity->setName('End Message');
$activity->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$activity->setClass('SayActivity');
$activity->save();
$elseIf1 = new Ezer_PropelIf();
$elseIf1->setName('else if 1');
$elseIf1->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$elseIf1->setCondition('$condition == 3');
$elseIf1->setContainer($if, 0);
$elseIf1->save();
$activity = new Ezer_PropelActivityStep();
$activity->setName('Else Message 1');
$activity->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$activity->setClass('SayActivity');
$activity->setArgs(array('elseIfMessage1'));
$activity->setContainer($elseIf1);
$activity->save();
$elseIf2 = new Ezer_PropelIf();
$elseIf2->setName('else if 2');
$elseIf2->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$elseIf2->setCondition('$expression');
$elseIf2->setContainer($if, 1);
$elseIf2->save();
$activity = new Ezer_PropelActivityStep();
$activity->setName('Else Message 2');
$activity->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$activity->setClass('SayActivity');
$activity->setArgs(array('elseIfMessage2'));
$activity->setContainer($elseIf2);
$activity->save();
$else = new Ezer_PropelElse();
$else->setStatus(Ezer_IntStep::STEP_STATUS_ACTIVE);
$else->setContainer($if);
$else->save();