21 Sep 2023
08:23 PM
- last edited on
25 Sep 2023
07:45 AM
by
stefan_eggersto
As a test use case I am building a dashboard that lists problems, with a Severity variable. I have done it successfully using a CSV list of the Severity Levels, but in the API there is an existing ENUM of the levels called ProblemSeverityLevel which should have all of them, but I can't figure out how to use that in code. If I reference if from the problemsClient, it just returns null, or invalid reference, depending on how I try to use it. Is it possible to reference the ENUM so I can then list the values into the variable via code?