Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tLogCatcher - Priority

Hi,
When a tWarn/tDie message is caught by the tLogCatcher it processes various pieces of data. One of these is the "Priority" that relates to the priority drop down box in the tWarn/tDie component. Is it possible to access the Text for the "Priority" rather than the index?
For example, I would like to see "Warning" instead of 4. Is there an object that stores this enumeration that I could access, rather than having to write my own?
Thanks,
David
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello David
Is there an object that stores this enumeration that I could access, rather than having to write my own?

No, but you can convert the digit to string message on tMap, eg:
tLogCatcher--row2-->tMap--tLogRow
on expression of priority column:
row2.priority==4?"warrning":(row2.priority==5?"error":"other info")

Best regards

shong

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Hello David
Is there an object that stores this enumeration that I could access, rather than having to write my own?

No, but you can convert the digit to string message on tMap, eg:
tLogCatcher--row2-->tMap--tLogRow
on expression of priority column:
row2.priority==4?"warrning":(row2.priority==5?"error":"other info")

Best regards

shong