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 ... 4 5 [6]
76
Hi,

I've a really simple query and yet I'm getting this error message "Too Few Parameters - Expected 1" each time the fragment is called.

The SQL is
Code: [Select]
SELECT name FROM t_object
where stereotype = "StartEvent"
and t_object.parent_id = #OBJECTID#
which seems so simple there couldn't be anything wrong with it, but I might just be blind.

Any help with this would be great! Thanks!

Screwtape

77
Brilliant! That worked perfectly. Thanks! Life-saver!

78
Is it possible to export or copy somehow an RDF template from one model to another (both in EAP files).

As it happens, one of my fragments has become corrupt and I want to restore it from the a backup of the EAP file, without losing all the rest of the changes to the model since the backup.

Any ideas?

79
Thanks for the suggestion.

I've just looked at the automation interface documentation, and it seems like ancient history - VB6 and Word 2000?

Is it the documentation that is out of date, or does the document automation system really rely on such out of date technology?

Am I missing something? Can you give me a link to the releveant documentation, so I'm in the right place?

80
Hi Simon,

When I talked about parents it was in an inheritance kind of way, rather than element heirarchy.
However, reading your reply - it has dawned on my why it isn't working.

I'm trying to filter out Activity and BusinessProcess elements, but not ActivityPartition elements. If I filter Activity I don't get anything.

This is because the fragment is being called from an activity and therefore is being filtered out before it get's chance to find the child elemenets.

I have the "Include child elements even if the parent element is filtered out" ticked, but that doesn't seem to do anything.

So, the fragment is called in an activity, but I want to process the children that are ActivityPartitions. However, I can't call a template from within Child Elements, just within Element.

This is connected with my query about skipping heading levels previously - I'm trying to generate a document which refers to the pools and lanes, but doesn't make them part of the heirarchy - there would just be too many levels.

So if my tree looks like this...
Activity A
|--Pool X
|   |--Lane Y
|   |   |--Activity B
|   |--Lane Z
|   |   |--Business Process C
|   |   |   |--Pool Q...

What I'm trying to get is

1. Activity A

Pool - X (ActivityPartition only fragment)
    Lane - Y (ActivityPartition only fragment)
        Activity B (Fragment called from ActivityPartition Fragment)
    Lane - Z (ActivityPartition only fragment)
        Business Process C

1.1 Activity B
...
1.2 Business Process C

Pool - Q...

I therefore want to produce a second summary heirarchy using the pools and lanes, and then ignore the pools and lanes in the main hierarchy.

If I filter ActivityPartition in the main document, I don't get any of the child activities, even with the "Include child elements..." checkbox ticked.

I'm sure theres a logic to how the "Include child elements..." checkbox works, but I don't understand it.

I realise that I'm trying to subvert the heirarchy, but I thought I'd be able to do that using fragments.

Thanks!

81
Hi!

I'm really struggling with the exclude filter in a template fragment.

If I exclude nothing, it works, but includes everything.

I want to show only ActivityPartition types in this fragment.

If I filter everything else out, then I get nothing.

So, the items I don't want to show in this fragment are mainly Activities and BusnessProcesses. So I try to filter out only Activity - and get nothing.

Are there hierarchies in these filters that if you filter the parent you filter out all the child types as well?

What do I need to do to make the filter exclude the things I want to exclude without excluding everything?

82
Hi! Thanks for the idea - sadly it didn't work on two accounts - one is that I am looking for more than just the headings I described, which I think would make the custom fragment very complex - and secondly, each time the engine digs down a level it increases the heading level - despite the fact that there was nothing displayed at heading level 2 or 3, it goes from 1 to 4.

What I want to do is tell EA to pretend it hadn't dug down a level - just ignore those pesky ActivityPartitions and go straight to the children.

I could do that with the sql - but not then be able to process those elemenets normally, which is what I'm trying to do.

If the "Include child elements even if the parent element is filtered out" worked as it sounds like it should - it might just do what I wanted, all filtering I've tried prevents all child elemnts of excluded parents.

83
Hi! I'm trying to produce process documentation from a hierarchy of BPMN business processes and activities. The problem is that there are pools and lanes in the diagram, which I want to keep, but I don't want to report them as hierarchy levels.

What I'm trying to get is
1.1 Business Process 1
1.1.1 Business Process 2 (In Pool 1/Lane 1 say)
1.1.1.1 Activity 1
1.1.2 Activity 2 (In Pool 1/Lane 2 say)

I've managed to get the Pools and lanes not to display, but they retain their hierarchy levels, so I'm getting

1.1 Business Process 1
1.1.1.1.1 Business Process 2 (In Pool 1/Lane 1 say)
1.1.1.1.1.1 Activity 1
1.1.1.1.2 Activity 2 (In Pool 1/Lane 2 say)

so I've got two levels of headings numbering that I don't want.

I've tried filtering out the ActivityPartition type, and selected "Include child element even if the parent is filtered out.", but that just removes all the child elements of the pools/lanes and reports only the top level. I've done this both at the master template level, or at the specific fragment level, but in both cases the "Include child element..." flag seems to be ignored.

Any ideas would be welcome!

Anyone with any ideas how to do this?

84
I note in most of the templates and fragments, there are fields which have labels, where the label is only displayed if the field has data in it.

I've tried every context menu I can find to see how this is done, but to no avail. I also can't find anything in the documentation or help for this.

Can someone let me in on the secret?

85
Thanks! That's great.

86
Hi,

I'm trying to build a report using templates and fragments. I've copied the template selector and referred to my copy in the primary template.

While when I override the values for Activity, and this seems to work fine, I've added lines for Pool and Lane but these seem to be ignored.

I can't find any documentation about this feature, and can't figure out what I'm doing wrong.

I've added lines in to the Custom Query Tab for the template selector
Code: [Select]
Lane::ProcessLanePool
Pool::ProcessLanePool
but that doesn't seem to do anything.

Any ideas what I am doing wrong?

Pages: 1 ... 4 5 [6]