Book a Demo

Author Topic: Is there an #OPERATIONID# analogue to #OBJECTID# ?  (Read 3878 times)

ndg2

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Is there an #OPERATIONID# analogue to #OBJECTID# ?
« on: October 16, 2018, 08:42:27 pm »
Hello, I want to create Activity Diagrams for Operations, which have the Activity owning that diagram set as op.Behavior. Now I created a "Document Script" template pointing to a VB script evaluating operations and their activity diagrams. This VB script then in turn invokes a document template printing out images (compare this e.g. to https://zubkiewicz.com/nonlinear-generation-of-documentation-in-sparx-enterprise-architect/). From that document script I would like to be able to give the operation's  "OperationID" as argument to the VB script in the vain of "#OBJECTID#". That means I would like to give something like "#OPERATIONID#". That doesn't seem to exist?

Background info: the diagrams get printed anyway (I think, either as member of the owning package or as child elements of the owning class). However, I would like to see them printed directly after the method gets processed, not at the end or beginning of the class who owns the operation.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Is there an #OPERATIONID# analogue to #OBJECTID# ?
« Reply #1 on: October 16, 2018, 09:03:40 pm »
No, that doesn't exist. Would be a nice feature though.

Geert

ndg2

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Is there an #OPERATIONID# analogue to #OBJECTID# ?
« Reply #2 on: October 17, 2018, 11:30:57 pm »
Thanks for clarification, Geert!