Issue 13881: Subclause: 8.5.2.2.6 ActivityParameterNodeActivation (fuml-ftf) Source: Model Driven Solutions (Mr. Ed Seidewitz, ed-s(at)modeldriven.com) Nature: Uncategorized Issue Severity: Summary: When an activity execution is terminated (e.g., by an activity final node), tokens are cleared from all object nodes (see the ObjectNode::terminate operation). However, this means that output activity parameter nodes (which are object nodes) get their tokens cleared. As a result, the tokens meant to be placed on the output parameters of the activity are lost. The ActivityParameterNodeActivation class should override the terminate operation and, if for an output activity parameter node, not clear the tokens in the node. Resolution: The ObjectNode::terminate operation uses the clearToken operation to clear the tokens from the node activation. However, ActivityParameterNodeActivation already overrides this operation to only clear tokens if the node is an input parameter node. So no change is needed. Revised Text: None Disposition: Closed, No Change Revised Text: Actions taken: April 19, 2009: received issue July 23, 2010: closed issue Discussion: End of Annotations:===== ubject: Terminating an ActivityParameterNode Date: Sun, 19 Apr 2009 19:51:23 -0400 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Terminating an ActivityParameterNode Thread-Index: AcnBSb8QpnkKjcMURraDA++QdvKuqQ== From: "Ed Seidewitz" To: Specification: Semantics of a Foundational Subset for Executable UML Models (ptc/2008-11-03) Subclause: 8.5.2.2.6 ActivityParameterNodeActivation Summary: When an activity execution is terminated (e.g., by an activity final node), tokens are cleared from all object nodes (see the ObjectNode::terminate operation). However, this means that output activity parameter nodes (which are object nodes) get their tokens cleared. As a result, the tokens meant to be placed on the output parameters of the activity are lost. The ActivityParameterNodeActivation class should override the terminate operation and, if for an output activity parameter node, not clear the tokens in the node.