Exit point example 2: Based on a product ID, retrieve the price from a database
The workflow has a ProductID parameter. In the workflow you want to model a decision that is based on the price of the item. The price information is known in the application that starts the workflow, but is stored in a separate database. In this situation, you create an exit point where the custom logic reads the price from the database.