source: sandbox/2.3-MailArchiver/workflow/inc/engine/compiler/agents_pos.php @ 6779

Revision 6779, 470 bytes checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1<?php
2//Code to be executed after an activity by agents
3if (!($instance->getActivityCompleted()))
4{
5  foreach ($this->agents as $agent_type => $ui_agent)
6  {
7    if(!($ui_agent->run_activity_pos()))
8    {
9      galaxia_show_error($ui_agent->get_error(), false);
10    }
11
12  }
13}
14else
15{
16  foreach ($this->agents as $agent_type => $ui_agent)
17  {
18    if (!($ui_agent->run_activity_completed_pos()))
19    {
20      galaxia_show_error($ui_agent->get_error(), false);
21    }
22  }
23}
24?>
Note: See TracBrowser for help on using the repository browser.