title: Enterprise architect (Sparx System) - Documentation template for UseCase
body: <p>I need help with creating UseCase template for Enterprise Architect (v 12.1). I have UseCase diagram like this one and I need to generate documentation from diagram named "Transaction" (as you can see on this picture):</p>
  
  <p><a href="https://i.stack.imgur.com/Ne3NK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ne3NK.png" alt="My diagram"></a></p>
  
  <p>The problem is, that one UseCase is located in another package. When generating documentation with my template (I need only " Transaction" package in my documentation not Transaction Validation or other packages), the UseCase of Transaction Validation is not generated (simply because of this element is from another package).</p>
  
  <p>One more note - we don't write Structured Specification Scenario, but we write scenarions into "Description" tab. Like this one:</p>
  
  <p><a href="https://i.stack.imgur.com/xyDRJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xyDRJ.png" alt="Scenario"></a></p>
  
  <p>I tried to create template for generating elements located on diagram, but there is only option to generate Element.StructuredScenarioText for "foreign" element located on diagram when creating template (I need the red one values - ElemScenario.Scenario, ElemScenario.Type and ElemScenario.Notes):</p>
  
  <p><a href="https://i.stack.imgur.com/4AL5m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4AL5m.png" alt="Template"></a></p>
  
  <p>Is there any option to generate Scenario (not structured) for "foreign" UseCase located on diagram?</p>
  
  <p>Thanks for your help!</p>