We now have a method to send a business event when a Bill of materials is approved. What would be useful is to close the loop, and use Microsoft Flow to approve the BOM that would then make the BOM active.
We don't have a way to read the bus in SCM, so we will need to write one. The main purpose of this recipe is to show how we can read the Service Bus in SCM. When writing a solution for inbound actions, we should use a similar pattern to business events, where the process is simply in reverse.
In this recipe, we will only have one adapter and a form to store the connection details. Again, this is a technical demonstration and does not deal with the security impact of storing connection strings and secrets in a table.
The main recipe stops when we can successfully read the message from the queue– this will be extended...