Notification Condition with wildcard is not working

Hello,
I like to use Notification feature as auto-reply to new support tickets. All is working beside one small detail:
If we add a ticket by ourself we like to send no notification.
In the condition field I like to exclude via

doc.raised_by!=“.*@mail.com

But this is not working any suggestion?

Kind regards!
Moritz

Hi,

Please try below:

doc.raised_by.split("@")[-1] != “mail.com”

Thanks

Divyesh Mangroliya

Hello @mangroliya
thank you for the proposal. I got instantly the system message that it is invalid.
Maybe “split” is not working in the notification module?!

Kind regards!
Moritz