Book a Demo

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 - geert

Pages: [1]
1
Suggestions and Requests / Business Rules reuse
« on: May 07, 2009, 06:25:33 pm »
Hey,

i've been trying out the rule composer.
How come you can not reuse a business rule?

If you specify the rule for ruletask A, you cannot reuse that rule for ruletask B, you have to respecify the same business rule. You could even specify something else, which would make it a different business rule.

Will there be reuse of business rules in the future?

Greetz,
Geert

2
General Board / Re: Version 8 Workflows
« on: May 20, 2010, 06:11:04 pm »
hey,

i've noticed when taking a screenshot, the same thing happens.

I run the script, the status is disabled.
I take a screenshot, the status becomes enabled again.

Has this been reported as a bug in the meanwhile?

Grtz,
Geert

3
General Board / Re: Version 8 Workflows
« on: April 16, 2010, 09:40:55 pm »
Me too. I tested it on the final releaseof EA 8, build 855.

4
General Board / Re: Version 8 Workflows
« on: April 16, 2010, 12:30:02 am »
Hey,

i executed following script:

Public Function CanEditStatus()
    If WorkflowUser.IsMemberOf("GeertsGroup") Then
          CanEditStatus = False
     Else
           CanEditStatus = True
   End If
End Function

works fine...

when you are of the specified group, you can open an element, the Status field will be disabled == great, i expected this.

now when that user changes the name of that element, suddenly the Status field is enabled and he can joyfully change the Status save it and afterwards rename it again == i did NOT expect this

Why is this? And can somebody help me to solve this problem?

Greetings,
Geert

5
General Board / Re: Version 8 Workflows
« on: April 15, 2010, 11:33:24 pm »
Hey Phil,

this worked for me:

Public Function CanEditStatus()
    If WorkflowUser.IsMemberOf("GeertsGroup") Then
            'MsgBox "Don't touch me"
          CanEditStatus = False
     Else
            'MsgBox "You can touch me!"
           CanEditStatus = True
   End If
End Function

Hope this helps for you.

Grtz!

6
Hey!

yes i speak dutch :)

my question then is, why do i get no errors when invoking the ScenarioStep? (I think this is a new object as of EA8, no?)

Grtz,
Geert

7
i'm building against build 855 if that helps.

Grtz,
Geert

8
Hey all,

i am trying following code (C#):

                foreach (Scenario scenario in Element.Scenarios)
                {
                    foreach(ScenarioStep step in scenario.Steps)
                    {
                        foreach(ScenarioExtension ext in step.Extensions)
                        {

I get following error at runtime (builds fine) on the ScenarioExtension class:

Unable to cast COM object of type 'System.__ComObject' to interface type 'EA.ScenarioExtension'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{49139560-A6C6-4713-ABD8-C4FCAD234A05}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

I execute it against the Interop.EA.dll version 2.10.238.1

Any one any ideas as to why I get this error? Can any one reproduce this?

Would be much appreciated!
Geert

9
Hello,

1) is it possible via the automation interface to access an element list that was retrieved, via for example a model search?

2) why can i not acces my add-ins, when right clicking on this element list? will this be possible in the future?

Thank you,
Geert

10
Automation Interface, Add-Ins and Tools / security: enabled or not?
« on: May 19, 2009, 07:23:13 pm »
Hey,

is there a way to check whether security of a project is enabled or not via the automation interface?

Thank you
Geert

11
Automation Interface, Add-Ins and Tools / Re: operation_guid
« on: April 17, 2009, 09:19:52 pm »
Hello,


I found that the operation_guid tagged value was not correspondent with the guid of the operation. However it corresponds to the tagged value ea_guid of that operation.

So if you take a message with a operation_guid, you can retreive the interface with the list of operations and then check what operation has an ea_guid == operation_guid.

This is a solution, but a slow one, since you have to go through all the operations of that interface to find a match.
Is there some relation between the ea_guid of an operation and the guid of that operation?? That way i could simply call the operation immediately.

Thanx,
Geert

12
Automation Interface, Add-Ins and Tools / operation_guid
« on: March 13, 2009, 11:18:09 pm »
hey,

i'm reading sequence diagrams and the messages standing on it in .NET
i can perfectly retrieve the the guid of the operation and it is the same  as the guid on the interface, so no mistakes there, however if i try

repos.getMethodByGuid(guid)

this does not always work. often i get a null back of that method.

any ideas as to why this is?

thanx!

13
Hey,

in EA you have the possibility to "hide" for example one or more attributes/operations on a Class via feature visibility.

How can i see via automation interface whether a class has some attributes hidden on a diagram?

Is this via the DiagramObject.Style attribute? If so, what are the possibilities for the style attribute? If not, how else can i see it?

Greetings and many thanks
Geert

Pages: [1]