Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: brback on February 28, 2018, 01:28:24 am

Title: Automate execution of scripts
Post by: brback on February 28, 2018, 01:28:24 am
Is there any way to automate execution of scripts?

I've made some scripts which import contents from our cmdb to Sparx EA, and I would like these scripts to automatically run every night.
Title: Re: Automate execution of scripts
Post by: Geert Bellekens on February 28, 2018, 01:39:09 am
Not really.

What you can do is create a working vbscript outside of EA and schedule that.
Problem is that you'll need an interactive user to be logged in at the moment of execution, so scheduling on a server is not really an option.

If you search the forum you should find quite a number of posts discussing this topic.

Geert
Title: Re: Automate execution of scripts
Post by: brback on February 28, 2018, 07:33:33 pm
Thank you for replying, Geert. Too bad, I hope they will implement this as feature in the future.

Okay, guess I need to work on my searching skills.
Title: Re: Automate execution of scripts
Post by: Arshad on February 28, 2018, 07:48:47 pm
 Hi brback

Even if you tried automating EA scripts from an external custom applications then there are certain limitations needs to be checked

Script should not include any Enterprise Architect specific keywords.


For more details please refer Execute Scripts from External Program (https://www.sparxsystems.in/blogs/execute-enterprise-architect-scripts-from-an-external-program/)


HTH
Arshad