Hi,
I have a scenario wherein I have a layout which shows the count of alarms like below
Now, when I click on the each alarm it should only bring me those severity type of alarm like if I click suggestion it should give me the alarms list for severity type Suggestion
Currently, I have a script which gets all types of alarms like this
So, How on click of that count I can get the type of only one which is selected from the above list
Hi Apurva,
I believe you are using a grid component to show the different types of severity.
If this is the case you can use the selection the grid component exposes to filter the data from the query that fetches all your alarms.
To do this, select something in the grid. Then go edit your query and select the filter operator, filter on the severity column and link the value to the grid selection.
Hope this helps.
With kind regards,
Robin
Hi Apurva,
To achieve the desired functionality, you can create an ad-hoc data source that dynamically generates the alarm information filtered by the severity type selected by the user.
For example, when the user clicks on a specific severity (e.g., "Critical" or "Suggestion"), your script can pass this severity type as a parameter to the data source. The data source would then retrieve and display only the alarms corresponding to the selected severity, streamlining the user experience.
Kind regards,