how can i check particular string in body of email inbound email action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 12:37 AM
Hi All,
I am using the below line to check the particular word is present in the body of email.
email.body.contain("Certified")
if Certified word is present then i need to update the status as Certified.
Am I using the correct keywords ? If not please help
Thanks
Pradeep D J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 04:46 AM
Write it in the script in a if condition. Keep the condition field empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:22 AM
i have written this in script:
if(email.body_text.indexOf("Certified")>-1)
{
current.u_status=email.body.status;
}
Sending this from my personal id:
status:certified
Note:u_status is type of choice
Not able to set the status as Certified

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:27 AM
Can you add a log to see if the inbound action is getting processed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:30 AM
Yes it is processed.
I have checked in System Mailboxes-> Recieved

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:37 AM
Have you added current.update() in script?