I am using windows workflow to send email notifications but now I want
to add delay activities and have the workflow unload. I read that
appfabric can be used to automatically reload any unloaded instances but
I can't seem to get it working.
Here is the background for my problem:
I have created a
custom workflow designer that is in a web application rather than using
the actual windows workflow designer. Users can create "workflows" which
in turn create "workflow jobs" at a given trigger date. I have a
polling service that will pickup a workflow job and invoke an actual
windows workflow using WorkflowApplication.
The issue here is that if I unload a workflow when it goes idle, it
doesn't reload when it is ready. I read that AppFabric can be used for
this but after installing and configuring appfabric I am not getting any
different behaviour. Some articles tell me to use WorkflowServiceHost
to host the workflow but I still don't understand how the host is
linking to AppFabric.