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

Pages: [1]
Automation Interface, Add-Ins and Tools / Re: C# + Scheduled Task= Error
« on: November 18, 2016, 10:21:52 pm »
I don't think this is an EA problem - this sounds like the user account running the Scheduled Task (possibly SYSTEM) does not have access to the file you're specifying.

What credentials are you running the Scheduled Task under? You could do one of the following:
1) (recommended) Create a new local user on the PC, and give it full access to the folder. Changed the scheduled task to "run as" this user (saving the password).
2) Just use your credentials in the "Run as...". This means storing your password with the task, which you probably don't want to do if it's a network account.

Automation Interface, Add-Ins and Tools / Re: Parallel script execution
« on: November 18, 2016, 10:15:19 pm »
A couple of thoughts:
* Have you considered using a Dependency rather than a tagged value to represent the relationship? This would involve a single look-up, instead of having to search for each element.
* I've had quite a lot of success using C# Interop for Automation ( This would allow you to control the number of threads/processes, and hence do things in parallel. This involves the same object model, but a separate executable which connects to a single running instance of EA.

General Board / Re: Communicating State Machines
« on: November 18, 2016, 10:00:45 pm »
How do you define an Activity which sends a signal?

I tried adding an Activity which comprised:
ActivityInitial -> Send -> ActivityFinal
but I can't see a way to link the Send to the "Signal".

General Board / Re: Communicating State Machines
« on: November 16, 2016, 03:50:01 am »

1. I'd also like to be able to specify sending a signal (or trigger) to another state machine as an effect. At the moment, we just use a textual convention "send(dest, MY_TRIGGER)", but this is very fragile. If the trigger name changes, the model is broken.

2. On another note, I don't think using the current state of another state machine in a guard is a good idea since conceptually it can change at any point (such as after you've checked the guard, but before you perform the action/effect). I would instead recommend keeping a local state variable to indicate the state that machine was in the last time you heard from it, and use that in your guard. Or better yet, a local state variable indicating the real thing you're interested in (such as "is_connected", or some such).


General Board / How to sort internal transitions in state machine diagram?
« on: November 16, 2016, 03:38:49 am »
I have a state with multiple internal transitions. On the state machine diagram, the transitions appear within the same compartment as the internal activities (see

I would like to be able to manually change the order the transitions are displayed in. It doesn't look like the "Move Element Up" or "Move Element Down" commands work.

How can I control this? I'm happy to use the automation interface if there's a property I can change on the Connector or DiagramLink.

I am using Corporate edition, v12.1 1230, on Windows 7.

Pages: [1]