AndyGilly Posted April 6, 2020 Share Posted April 6, 2020 Is anybody able to help with a email routing rule expression? for the first time we would like to add the use of the email body to this expression, but only if it contains a given word IE failed I have tried AND body CONTAINS '%Failed%' and AND body LIKE '%Failed%' but both fail appreciate any help possible Andy Link to comment Share on other sites More sharing options...
Giuseppe Iannacone Posted April 6, 2020 Share Posted April 6, 2020 @AndyGilly this is the expression I'm testing, please consider that I'm a user like you, and the expression is case sensitive REGEX_MATCH(subject, '(?:^|\W)Failed(?:$|\W)') Link to comment Share on other sites More sharing options...
Giuseppe Iannacone Posted April 7, 2020 Share Posted April 7, 2020 @AndyGilly it seems like my regex is not working as expected, we need some adjustment from Hornbill team here. Link to comment Share on other sites More sharing options...
Jeremy Posted April 8, 2020 Share Posted April 8, 2020 so for this we have: For definitive text: body like '%Failed%' But this for contains: body in ('Failed') Link to comment Share on other sites More sharing options...
AndyGilly Posted April 9, 2020 Author Share Posted April 9, 2020 thanks @Jeremy, really appreciated. will give it a try Link to comment Share on other sites More sharing options...
Giuseppe Iannacone Posted April 9, 2020 Share Posted April 9, 2020 @Jeremy it worked like a charm... thank you very much.... 2 Link to comment Share on other sites More sharing options...
Victor Posted May 7, 2020 Share Posted May 7, 2020 @AndyGilly @Giuseppe Iannacone @Jeremy for future reference: 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now