Heroku - 21 Messages Outbound Exercice

Hello everyone and welcome to this course introduction to heroku, today we will do a small exercise. exercise first it will be necessary to deploy the code that will treat the second for that I am and simply the instructions in the section diplomas had other applications then it would be necessary to go on salesforce and to create another jump for the comments of crisis with in point that they comment and finally to create a comment of crisis on a kite already existing and validated with the help of the log the fact that it was well transferred and received it is to be noted that to create a comment of km it is necessary to first create a notebook to create the to create the comment it is necessary to go on the page of the notebook by scrolling lower for it created can now put the video in pause if you want is to perform these steps I will now show you the solution then to strip the heart of those who have offered to the east on degree and you only have to follow steps that are written here having already done this step in the previous video I am not going to do them again so lift directly on this force I will again in this set up I type workflow red 2 you can see that I have already here my house band k'ils I will create a new rule so roll me the directions until kaïs comments information to note to have the rule to the bands of the comments there is not need to have a rule the band kaïs they are totally independent to stay in simplicity I will call to auburn 15 comments I take the second option formula and want to reach of holes and to the next cv one associates the action new world bank said quescom is there and in taxes and url again it is your address that is on your involvement so just here is not to add this the age that this shot is still at the end I will add all the fields and save including and don't forget to activate the rule here we have configured the band for the km comments I'm now going to provoke this request for that I'm going into kyle I'll just create a new kaid that will do it I'll go down and you'll see the section callies komment new jussie comments before saving and I'll go to my application to check the languages now I can save and if I go back to td a lot you can see in the messages this is a test comment test comment and there 's the time the date it was created. That's it for this video but I said soon for the next one!

Summary

This lesson is a hands-on exercise demonstrating how to set up outbound messaging from Salesforce to Heroku for case comments. Students will deploy code from the deployment section, create an outbound message rule in Salesforce for case comments, and test the integration by creating a test comment and verifying its successful transfer through application logs. The exercise shows how to configure the workflow, activate the rule, and validate that comments created in Salesforce are properly received and logged in the Heroku application.

Key points

  • Deploy code from the deployment section before configuring Salesforce
  • Create an outbound message rule in Salesforce Workflow Rules for case comments
  • Outbound rules for comments are independent and require no separate case rules
  • Cases must exist before creating comments; navigate to the case detail page to add comments
  • Activate the workflow rule after configuration to enable message flow
  • Verify successful integration by checking Heroku application logs to confirm message receipt

FAQ

Do I need to create a separate outbound rule for cases and comments?

No, outbound rules for comments are completely independent. A single rule can handle comment messages without needing a separate case rule.

How do I verify that the outbound message was successfully sent to Heroku?

Check the Heroku application logs. When a comment is created in Salesforce, you should see a new log entry confirming the comment was created and successfully received.

What is the required prerequisite before creating a case comment?

You must first create a case in Salesforce. Comments can only be added to existing cases; navigate to the case detail page and scroll down to add a comment.