Service Operations Insight

Expand all | Collapse all

How to parse on Event Policy

Jump to Best Answer
  • 1.  How to parse on Event Policy

    Posted 12-22-2016 06:16 AM

    Afternoon Everyone,


    I would like to get a value from a variable. I have already use fn:parse to parsing the value from variable but it doesn't work.


    Let say I have value like this server18_FRONTEND_FE003 and I want a value after last underscore or FE003.

    I have tested the regex and it's working well, please see below picture.


    but when i tried the regex on event policies it does not work, here's the assigned value fn:Parse(${pattern1.Summary},'([^_]*$).*') 


    Does anyone know a way to apply this regex [^_]*$ into assigned value?


    Best Regards,


  • 2.  Re: How to parse on Event Policy
    Best Answer

    Posted 12-22-2016 06:35 AM

    Hi Okik,


    Try this pattern: .*_(.*?)$.




  • 3.  Re: How to parse on Event Policy

    Broadcom Employee
    Posted 12-23-2016 05:55 AM

    Hi Okik,


    Please mark the response as correct if it answered your query. This will help the entire community finding the right answer.