From de4c22a704c30deef95b0c994549d7ef5b1ae07e Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Fri, 4 Dec 2015 11:31:44 -0400 Subject: [PATCH] Validation added for issue found debuging Valeo process --- workflow/engine/classes/class.derivation.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workflow/engine/classes/class.derivation.php b/workflow/engine/classes/class.derivation.php index 16659f03c..cc9806e35 100755 --- a/workflow/engine/classes/class.derivation.php +++ b/workflow/engine/classes/class.derivation.php @@ -1063,6 +1063,9 @@ class Derivation $this->case->closeAllDelegations( $currentDelegation['APP_UID'] ); $this->case->closeAllThreads( $currentDelegation['APP_UID'] ); //I think we need to change the APP_STATUS to completed, + if (!isset($nextDel['ROU_CONDITION'])) { + $nextDel['ROU_CONDITION'] = ''; + } if (isset($nextDel["TAS_UID_DUMMY"]) ) { $taskDummy = TaskPeer::retrieveByPK($nextDel["TAS_UID_DUMMY"]); if (preg_match("/^(?:END-MESSAGE-EVENT|END-EMAIL-EVENT)$/", $taskDummy->getTasType())) {