I have defined a bunch of alarms, each with a display path with the structure
<plant>/<area>/[...]/<work cell>
Examples:
PlantName1/Finishing/Dispencer
PlantName2/Foundry/Melting/Furnace
After that, I have defined a Perspective page that takes in input the name of the plant as well as (optionally) the name of a work cell. In the page I have an AlarmStatusTable component, that has a display path filter (defined on "props.filters.active.conditions.displayPath") defined as follows:
- if no work cell is not specified, the filter is "<plant>/*"
- if a work cell is specified, the filter becomes "<plant>/*/<work cell>"
Examples:
PlantName1/*
PlantName2/*/Furnace
This allows me to only show the alarms that are currently active for the plant that I choose.
However, for a few seconds when I load the page, it seems like the filter is not applied and I am able to see every alarm currently active, regardless of the plant I specified.
After a few seconds (~ 5-10 seconds) the filter is applied and everything works smoothly.
Is there a way to avoid this behaviour?
Thanks