Revision 795,
470 bytes
checked in by viani, 15 years ago
(diff) |
Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | //Code to be executed after an activity by agents |
---|
3 | if (!($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 | } |
---|
14 | else |
---|
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.