I have heard that when deploying a robotics solution, when returning messages from "Failed" exits of procedures, the best practice is to assign msg codes and then define them in Project properties.So it will work fine when its deployed.Can anybody provide the steps to define those in project properties and refer them in the exits?I have include the messages in the Message Definitions sections in the project properties.But cant find how to refer them in the Failed exits.But I know how to use MessageManifest to accomplish the same thing.
You are correct. The idea is to use the MessageManifest to return a MessageDetails object. The goal is to create a place where you can edit the messages without having to open up every automation. If you include the code in the message, then it is easier to perform a search for it and locate it when looking into any reported issues.