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-27-2016 03:24 AM
current.update() is necessary to update?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2016 10:10 PM
Yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:30 AM
Ok if you are getting the Status as certified then why dont you hardcode it ?
You want to set the status as "Certified" right ? if yes then you can set
current.u_status="Certified";
inside the if condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2016 05:35 AM
I want to set that according to condition.
If condition sets true then it works.
But here it works even condition fails