Author: Sebastian Bergmann Date: 2007-01-15 13:17:52 +0100 (Mon, 15 Jan 2007) New Revision: 4506
Log: - Return execution ID if the workflow has been suspended. Modified: experimental/Workflow/src/interfaces/execution.php Modified: experimental/Workflow/src/interfaces/execution.php =================================================================== --- experimental/Workflow/src/interfaces/execution.php 2007-01-15 09:39:41 UTC (rev 4505) +++ experimental/Workflow/src/interfaces/execution.php 2007-01-15 12:17:52 UTC (rev 4506) @@ -113,6 +113,12 @@ // Continue workflow execution until there are no more // activated nodes. $this->execute(); + + // Return execution ID if the workflow has been suspended. + if ( $this->isSuspended() ) + { + return $this->id; + } } /** -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components