You need to sign in to do that
Don't have an account?
Stancioiu Stefan 1
Hi guys ! I'm new on Salesforce , can anybody help me with this ? Inbound email service / Email-to-Case
- Create a custom field on Case object - Order__c (Lookup to Order)
- Implement an Inbound email handler to parse the Subject and Body of an incoming email and search for the order number. In order to match a specific format, regex must be used.
- If order number was found, search the Order record based on the number (using dynamic SOQL) and associate it with the case (populate Order__c with the Salesforce ID of the Order).
- When the order number is found, add it to debug log using System.debug(…). Also use Limit class in order to monitor the number of queries and DMLs in a transaction (https://developer.salesforce.com/page/Best_Practice:_Use_of_the_Limits_Apex_Methods_to_avoid_Hitting_Governor_Limits).
May I suggest you please refer the below link for reference.
- https://developer.salesforce.com/forums/?id=906F0000000kArHIAU
hope it helps.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
All Answers
May I suggest you please refer the below link for reference.
- https://developer.salesforce.com/forums/?id=906F0000000kArHIAU
hope it helps.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
Hi Rahul Kumar, this helped me .
Thanks !