16
General Board / Model Validation if Category is ticked
« on: March 01, 2016, 09:53:26 pm »
I created an Add-In which I want to use as a Validation.
The program shall only be called once when validating (that's why I can't use EA_OnRunPackageRule, EA_OnRunElementRule etc.)
So my thoughts were to call my main method in EA_OnStartValidation.
The problem I'm facing is, that that way the program is called each time I "Validate Current Package". Even if I disable the category in "Configure Validation Rules..."
Is there a way to find out if the category is ticked for the Validation?
The program shall only be called once when validating (that's why I can't use EA_OnRunPackageRule, EA_OnRunElementRule etc.)
So my thoughts were to call my main method in EA_OnStartValidation.
The problem I'm facing is, that that way the program is called each time I "Validate Current Package". Even if I disable the category in "Configure Validation Rules..."
Is there a way to find out if the category is ticked for the Validation?