See if string contains a word RRS feed

  • Question

  • Hi

    I have a workflow to check of an email address need to be updated. I use MIMWAL to see if the workflow needs to be triggered but i cant find the correct function

    I tried somthing like this: Not(Contains([//Target/Email],"microsoft"))

    But it does not work.

    Someone has an idea how this can be achieved?

    Thursday, June 15, 2017 10:10 AM


All replies

  • The Contains function is for multi-values. Try the RegexMatch function - - instead.


    Consulting | Blog | AD Book

    • Marked as answer by komkommerman Thursday, June 15, 2017 1:58 PM
    Thursday, June 15, 2017 12:13 PM
  • i tried this but it doesnt work because i have 2 attributes to compare.

    I built this: Not(RegexMatch([//Target/Email],"["+[//Target/_EmailSuffix]+"$]")) but i suppose this is not supported. Is there another way to achieve this?

    Wednesday, June 21, 2017 12:44 PM
  • Try fixing your regex pattern. What are sq. brackets for? See the example in the wiki. Your resultant value should be pretty much similar to the pattern in second example. No?
    • Marked as answer by komkommerman Thursday, June 22, 2017 7:07 AM
    Thursday, June 22, 2017 5:33 AM
  • absolutly! i was so focussed on the workflow i didn't realise te regex pattern was wrong...


    works just like it should.

    Thank you

    Thursday, June 22, 2017 7:09 AM