Hi Dojo
In my connector, I have one (main) table which has a togglebutton column that I want to use for conditional monitoring. The table has linked tables. The aim is to enable/disable monitoring for the entry in the main table, as well as for the corresponding entries in the linked tables.
I am using the disabledIf attribute of the Monitored tag in all relevant parameters as explained in the Development Library:
This works perfectly in DataMiner version 10.1.4.0-10077. Although, when creating an element of the same connector on DataMiner version 9.6.0.0-9944-CU22, I'm only able to disable monitoring for the entries of the main table. The state of the togglebuttons have no influence on the corresponding entries in the linked tables. In both cases, the foreign key columns in the linked tables are filled in correctly.
I expect the same behaviour in both DataMiner versions. Do I miss some settings?
Can you give me some advice please?
Thank you in advance!
Kind regards
Hey Michiel,
Is the Relations tag present in your connector with the correct content? If so, try verifying if the path attribute of each Relation tag within the Relations tag is defined correctly (see DataMiner Development Library).
Hope this helps.
Hi Michiel,
Is it possible to elaborate your use case? Conditional monitoring can be implemented using alarm templates (Using conditions in an alarm template).
You could create a condition in the alarm template that will enable/disable the monitoring for a row in a table. In that way, conditions are not hardcoded in the connector.
Maybe I am missing a specific corner case that cannot be achieved using conditional monitoring in alarm templates?
Hi Miguel
Thank you very much for your reply! I forgot to add the Relations tag with its content (a Relation tag for each linked table). With those tags added, the connector works as expected in both versions.
Thanks a lot!
Note: I could have seen the issue in the element log:
SLElement.exe|82840|CParameter::FindRelationPath|ERR|0|!! No link found for “main table ID”[“main table description”] -> “linked table ID” [chain=]
Hi Tiago
Thank you very much for your reply! I forgot to add the Relations tag with its content (a Relation tag for each linked table). With those tags added, the connector works as expected in both DataMiner versions.
Thanks a lot!
Note: I could have seen the issue in the element log:
SLElement.exe|82840|CParameter::FindRelationPath|ERR|0|!! No link found for “main table ID”[“main table description”] -> “linked table ID” [chain=]