—use get outlook mail activity and get the list of mail messages with a variable as output named out_mailmessage
— then Use assign activity like this
Out_mailbody= out_mailmessage.Split(Environment.Newline.ToArray())
Where Out_mailboday is a variable of type string array
— now use a for each loop and pass the above variable Out_mailbody as input and change the type argument as string
— inside this use a if condition like item.Contains(“request to [#“)
If this condition passes it will go to THEN part where we can use the Split method or regex method to get the value of the request using a assign activity
Hope this would help you
Kindly try this and let know for any queries or clarification
Cheers @thima
I am pretty sure you’ve probably found a workaround already, but for the sake of sharing knowledge, please find attached a solution which uses only a single activity Get Outlook Mail Messages to filter the e-mail based on your subject requirements.
Subject: RE:Fast Ethernet (100 Mb) request to [ UFINET COSTA RICA ] in Tibas, COSTA RICA request [#788518 ] line item [# 50471231 ]
The solution shows how to use DASL syntax in the Filter property of the activity to achieve such goal.
The dynamic values are stored in variables, check the variables panel.