Hi Dojo Community.
How to enable and disable a specific Correlation Rules directly from a Visio view? What is the best practice to configure this button via Shape Data? Alternatively, is there a way to link a Rule Condition to a custom View property/parameter? Thanks for any advice!
Hi Nuril,
For this use case, you will require an automation script that will enable/disable the correlations rule. You can find a snippet of the script in a previous question.
To execute an automation script from a Visio file, you could use the shape data `Execute`. More information in DataMiner Docs (Linking a shape to an automation script).
Hope it helps.
Hi Miguel,
Thanks for the link! I tried implementing the solution Stacey shared, but the script failed during execution.
I'm getting an error message "System.ArgumentException: An item with the same key has already been added error inside CManagedAutomation.RunWrapped."
This happens regardless of whether I pass the correlation rule name or its description as the input parameter.