Is there a way to make it not case sensitive easily or do we need to add everyway virus could be written out separately e.g. 'Virus', 'VIRUS', 'ViRuS' etc?
You need to use match() function (check its description in documentation). It returns true if the first argument is an occurrence of a regular expression contained in the second one. For this exact case, the condition will look like:
The function with arguments: match([Ticket.Title], '(?i).*(virus)+.*')
[Ticket.Title] - reference to the title of a ticket. (?i).*(virus)+.* - regular expression (should be enclosed in single quotes). (?i) - case insensitivity flag. .* - any character occurred zero or more times. (virus)+ - sequence of characters occurred one or more times.
And here are sample results of checking the condition (from trigger logs):
22.04.2020, 09:56:42 started on ticket #2
Resolved condition values: {
"Ticket.Title": "This is a sample ticket (viRus) assigned to you #2",
"match": "True"
}
Condition result: true
Actions runs:
22.04.2020, 09:56:22 started on ticket #1
Resolved condition values: {
"Ticket.Title": "This is a sample ticket assigned to you #1",
"match": "False"
}
Condition result: false
We have encountered a similar problem recently in which some people are capitalizing certain letters of our email address and thus our triggers are not recognizing it.
I tried match([Ticket.HelpDeskMailbox], '(?i).(support@test.com)+.') but it didn't work. The logs are listed below:
3/26/2025, 4:59:42 PM started on ticket #TicketID=7726