We are going to start off by creating a simple workflow and then we will save it to the database. We need to do this before we create the business event subscription as we must select the workflow when we configure the business event subscription later in the chapter. To begin with, the workflow will have just a
end function which all workflows must have. We will create some attributes which we will use later in the chapter to store the values passed in an XML payload.
To achieve this, we will need to complete a number of mini recipes as follows: