Posted: 6 Apr 2018 6:43 EDT Last activity: 13 Feb 2019 16:25 EST
We're encountering an error upon runtime.
Error on BeforeStart() of Design Component:
[Automation_OS_filename] Project may not operate correctly.
Could not find an EventLink with PartID - [number]
- Execute: Exception invoking method - Cannot execute Entry Point. Automation is not running.
this started when we were merge our codes thru GIT, but its intermittent and we're unable to determine what is really causing the problem.
our current work around is to re-code the entire automation file and exclude the one with error.
It is highly recommended not to use Git with our product. Automation files do not merge well and we do not recommend merging as a result. Each element is given an ID and merging often causes issues with ID references as developers often do not understand what the merge is doing. I would recommend moving to a source control provider that supports file locking, such as SVN or TFS.
Hi Jeffbadger, but what is best solution when we encounter this issue and not by recreating the automation? It seems like these Event Link Part IDs are the Caught Link IDs in <OpenSpan.Automation.CatchHost> tag in OS XML. Removing them will remove the error but is there no effect on that?
There is no way to answer your question definitively without seeing the actual files. The best solution is to not create the problem in the first place by trying to merge automation code. Depending on what the merge did, you may be able to fix the automation or you may need to start over from scratch.