Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started 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.
-
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
-
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.
-
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.
- “As” keyword cannot be used
- Script should not use any static functions like
“Session”.Eg.Session.Output,Session.Input,Session.Prompt
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