We are running several ASP.NET applications (one per customer) based on our custom framework (which just extend ASP.NET). Each web application use its own database (Initial Catalog in the term of connection string). Now we would like to add workflow capability to the applications (to our framework respectively). The particular workflows will be the same for all the applications only some initial settings of each workflow can vary, e.g. in one application the e-mail will be send to the user X, but in other application to the user Y.
The question is if we can install one workflow engine (with one database for persistence) and share this for all workflows in all web applications.
If so, how then workflow engine get knows the particular workflow belongs to which web application? Should we store some application identifier somewhere in workflow?
Thanks for suggestions!