Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: PeterHeintz on May 23, 2018, 12:24:59 am

Title: Document Generation; How to render Events of Tiggers
Post by: PeterHeintz on May 23, 2018, 12:24:59 am
I have within a uml.trigger, defined a Signal specification. Now I want to show this trigger specification in my generated document. To do that, I tried to user the Event section in the document template but nothing is generated.

What template section is right to handle the trigger specifications?
Title: Re: Document Generation; How to render Events of Tiggers
Post by: Arquesoft (Mauricio Moya) on May 23, 2018, 01:53:10 pm
As it seems there is no way to include triggers in the template editor, you can explore the database in order to determine how your triggers are stored. Then, you can do a Document fragment to get the information of you trigger via an SQL. After that, just include your fragment into your document.
Title: Re: Document Generation; How to render Events of Tiggers
Post by: RoyC on May 24, 2018, 10:57:19 am
I think you would render an event of Tiggers as having a top made out of rubber and a bottom made out of springs...

(And pay due reverence to the combined work of A A Milne and Walt Disney.)
Title: Re: Document Generation; How to render Events of Tiggers
Post by: Paolo F Cantoni on May 24, 2018, 04:11:59 pm
I think you would render an event of Tiggers as having a top made out of rubber and a bottom made out of springs...

(And pay due reverence to the combined work of A A Milne and Walt Disney.)
and it's not yet Friday!  8)

Paolo

PS you can also use them for ArchiMate Zebedees...
(https://vignette.wikia.nocookie.net/the-magic-roundabout/images/7/72/Zebedee_pic.jpg/revision/latest?cb=20180415065551)
Title: Re: Document Generation; How to render Events of Tiggers
Post by: PeterHeintz on May 24, 2018, 04:40:25 pm
Yes, I mean triggers and not the tiggers, and I to want render events assigned to them.
How can I do that?
Title: Re: Document Generation; How to render Events of Tiggers
Post by: PeterHeintz on May 26, 2018, 12:05:46 am
Is there anyone who knows if it is possible to render events assigned to trigger on documents without scripting, and if so how?
Title: Re: Document Generation; How to render Events of Tiggers
Post by: Geert Bellekens on May 26, 2018, 12:54:59 am
Is there anyone who knows if it is possible to render events assigned to trigger on documents without scripting, and if so how?

I don't think you need scripting, but you will probably need an SQL fragment as previously suggested.

Geert