Hi all,
I am new to ME and my vendor had set up ME service desk to receive email from another system and then automatically create a request/ticket.
I wanted to automatically extract certain information from the email and populate a field in the request when ME received an email. The value is dynamic but it will always be the next line after certain sentence. Below is an illustration of what I wanted to achieve.
Sample Email Content 1:
This is an email from xxxxxx.
Priority : High
Trigger category Level 2
UC: 12-1 Hardware failure
Top 10 xxxxxx
Sample Email Content 2:
This is an email from xxxxxx.
Priority : High
Asset: XYZ
Trigger category Level 6
CR: 12-1 Software failure
The system is set up such that the field Description contains the whole email content.
For the first email above, I wanted to extract the sentence "UC: 12-1 Hardware failure" and set the value of the field Category with this sentence.
For the 2nd email above, I wanted to extract the sentence "CR: 12-1 Software failure" and set the value of the field Category with this sentence.
Hence, the sentence that I wanted to extract is always after the sentence that starts with "Trigger category Level". This sentence line number will differ from each email received.
How can I achieve this?
Thanks in advance.
Cheers!