Designer throws a funciton not found error while validating a Business Events project or Business Events Archive resource.
book
Article ID: KB0086339
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ============
Using Rulefunction, that is copied (file system copy - Ctrl+c & Ctrl+v) from one project to another project with a different folder structure than that of original project, as a startup/shutdown function in BAR file (both inference and query types), Designer throws a validation error saying that the rule function is not found.
Environment: ============
o TIBCO BusinessEvents 3.0.1 o All OS
Symptoms: =========
Designer throws an error "Funciton <rule funciton and its path> could not be found." while validating a BusinessEvents project or the BusinessEvents resource. Attached to this Solution is the screenshot of the error thrown for a test project.
Cause: ======
When creating a rule function resource, it will be saved with its location relative to the project root internally. You can see this if you open the rule function XML file on the file system.
Here the rule function "RuleFunction" is created under "RuleFunctions" which is directly under root.
When you do a file system copy (Ctrl+c and Ctrl+v) to a different project with a different folder structure, the rule function in the new project ("folder" attribute) still points to the old project folder structure.
This mismatch between the folder location where the rule function resides and the folder value inside its XML is causing the validation errors.
Resolution: ===========
Cut and paste the rule function to the same folder in the new project will address the issue. This way, the rule function will be created with the correct folder value relative to the new project.
Issue/Introduction
Designer throws a funciton not found error while validating a Business Events project or Business Events Archive resource.
Attachments
Designer throws a funciton not found error while validating a Business Events project or Business Events Archive resource.
get_app