Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Screwtape

Pages: [1] 2 3 ... 7
General Board / Re: Distorted BPMN Diagram Shapes and Connectors
« on: June 20, 2018, 08:26:31 pm »
Following on from Stoppy's last post - it appears that this issue has been addressed in a future build - by making it significantly worse in EA14!

It's almost as if the "handdrawn" algorithm has been applied to erroneously to some items. Arrowheads are different sizes and shapes depending on exactly where they are, the "end" elements are almost egg shape, and scrolling the screen results in their shape changing depending on where the element is, and the data store shape appears a bit wonky, as though the lid has slipped of it...!

I'm sure this can't be purposeful, but is an issue with the rendering engine - rounding numbers in a weird way? Whatever it is, it makes my diagrams in EA14 look a lot less professional.

Hi Bruce,

This sounded familiar - so I looked up my old threads and found this:,5903.msg127212.html#msg127212

It looks like it was reported as a bug some time ago, but the reported didn't mention the bug number.

It may be worth reporting as a bug again. I've moved to using virtual documents for most of my documentation, but I also use CustomDocument fragments, but not yet for diagrams, so I don't know if it fails within a CustomDocument fragment script.



Hi Folks!

This is a long shot - I'm generating documents, for which the original template uses document variables for header and title and version data. I can replace this, but it would be nice if I could set the document variables in the generated document.

Is there any way of doing this, apart from scripting opening the resultant document in a script and setting them that way?

I'm assuming not, but if anyone has a novel way of doing it then please share it!



Hi Rainer,

I had a similar problem some time ago in this thread:,5905.msg127226.html#msg127226

I've stopped using the bookmarks, partly as I'm now using virtual documents instead of a script, and partly because something changed between EA11 and 12 which meant the bookmarks didn't work for referencing my sections anymore.

If you can't see why it isn't working for you, it might be worth trying to generate a minimum reproducible case and submitting a bug report.

Sorry I can't be more helpful.



I'm generating a virtual document using a script with all the necessary sections etc. instead of using a script to generate the whole document.

However, there is one feature when using the script process that I can't find in the virtual document system - that is adjusting heading depth - as was done using the nDepth parameter of say, the DocumentElement method.

When I want to document nested elements etc., it appears that I have to create separate templates if I want to have different heading levels, which is a bit frustrating, as I would need to change the levels of all the subheadings.
(I don't document the nested elements using >>ChildElement entries because that documents all of them using the same template which defeats the point of the virtual document).

Have I missed something, or do I need to create a feature request?



I've just noticed something I presume is a bug, but I wondered if anyone else has had this issue.

It seems when I edit a fragment, if I open or close the "element" level tree on the left hand side, the "ChildElements" automatically gets selected.

If I remove it, then close the tree, it gets reopened.

I've tried several fragments, and they all do the same. I've also updated to 1310 and rebooted all to no avail.

Has anyone else had this occur, and is there any way of stopping it?


Thanks Geert!

Months later I reply... please don't think you're wasting your breath...

I have used a variation on your scripts to generate the general structure of the document, and that works great.

However, I have a script which takes a BPMN diagram and generates a "scenarios" style set of steps. It mostly works very well, but it is very slow when it comes to actually constructing the steps list.

Because in custom fragments you can a) only have a single dataset, and b) the hiding via bookmark doesn't work, I have to have several templates for each type of row, which I call once per table entry, which is inordinately slow.

I've stared using this script from within RTF DocumentFragments, which is great for small diagrams, but more than a handful of steps and they fall foul of the 60sec timeout on custom scripts.

I guess I could generate a virtual document down to the level of individual table entries, but I suspect that would also be extremely slow, as I'd have hundreds of virtual document entries, and even with a small handful, my document takes a long time to generate.

I guess that's what lunchtimes are for... :-)

This rang a bell, so I looked up my old topics.

I asked a similar question ages ago.,10832.msg148117.html#msg148117

The reply about killing the SScripter process seemed to work for me at the time, but I haven't had the problem recently.

Automation Interface, Add-Ins and Tools / Re: Recursive Query
« on: April 20, 2017, 10:19:23 pm »
This sounds like SQL has left behind EA.

Presumably it is checking that the statement begins SELECT so that you don't "UPDATE", but I think a feature request is in order to update EA in line with the new SQL syntax.

Presumably you can't do
Code: [Select]
(I can't check as I'm using JETEngine which I don't think supports that kind of advanced SQL anyway)


I'm using a script to call DocumentElement a large number of times, since I can't create the level of complexity I need in a custom script fragment, since you only can generate a single level of data and you can't hide things with bookmarks in a custom fragment.

The script works fine - but it is incredibly slow. Having put lots of debugging in place, it would seem that there is a huge overhead every time you call DocumentElement, so while the script executes everything else really quickly, this takes multiple seconds per call, and seems to be getting slower, perhaps in line with my repository size increasing?

Does anyone else have this problem, or better still, a solution?



General Board / Re: Unable to set BPMN Gateway Parameters
« on: January 12, 2017, 11:33:56 pm »

I don't have any security enabled as far as I know, as I'm using a local repository.


General Board / Unable to set BPMN Gateway Parameters
« on: January 11, 2017, 08:21:46 pm »

I've just tried to update the gateway direction BPMN parameter, on a BPMN gateway, and I can't see how to set the parameter. The parameters are displayed in the BPMN tab, but it does not allow me to update them.

Can anyone suggest what am I doing wrong?



General Board / Linking to Virtualised End Points
« on: July 12, 2016, 08:50:03 pm »
Hi Folks!

I'm trying to draw a class diagram that represents the data required in a query. I thought using virtualised end-points would help show the structure, but it doesn't.

I'm looking to do something like:


So I virtualised the B following C, but I cannot link anything to the virtualised end.

Is there any way to link to the virtualised end-point, or can anyone suggest a better way of representing a table multiply linked in a query structure.

Thanks for your help.

Uml Process / Specifying Overriden Steps in UC Specialisation in EA
« on: April 27, 2016, 08:57:22 pm »
At the risk of opening another huge debate on whether specialisation of use cases is appropriate, I'd like to ask a very specific question about documenting steps.

I have a base (non-abstract) UC with 4 steps.

1 - Get criteria
2 - Expand criteria
3 - Do search with criteria
4 - Filter results

The specialised UC will do 1, 2 and 4 exactly as the base UC, but will override step 3.

How would this best be represented in EA?

I have a BPMN process diagram for the base UC, but repeating the diagram with only the changed step seems to defeat the point of generalisation.

Having searched the web for examples, all I've found is a number of very trivial examples of what generalisation is, and how to represent it on a UC diagram, but nobody has shown any good examples of what the UC description and steps text should look like.

Any pointers or suggestions would be welcome.



Hi Roy!

I hadn't, but I have now. Thanks!

Sadly, it doesn't do what I need. Much like the script I mentioned, it will allow me to display a sequence of completed diagrams. What I am trying to achieve, is to be able to animate the creation of the diagrams (so for example, to bring in the first n boxes in step 1, and then the next n boxes in step 2), in order to build the diagram in understandable steps, rather than presenting a huge diagram. I could do it by creating lots of stage diagrams, but that is a) messy and b) still doesn't use the animation features of Powerpoint.



Pages: [1] 2 3 ... 7