Multi-Modal activities and workflows

Has there been any thought given to multi-modal activities and workflows? As an example, we may want to create a workflow that could run as a desktop application or on our IVR (phone) system. Such a workflow may begin with aLogin activity that presents a login dialog on the desktop or prompts the user for a pincode in the IVR.

So far, I have only come up with one good approach. It involves pairing somewhat generic activities with well-known interfaces. Using the previous example, we would have aLogin activity and anILogin interface. When the workflow begins, it must be passed anIServiceProvider that the activities can somehow reference. TheLogin activity would query the service provider for a service implementing theILogin interface. It would then use that service to carry out the actual activity. A desktop implementation of theILogin service would show a dialog while the phone-based versoin of theILogin service might play a prompt and wait for DTMF.

Is this a plausable approach? Is there a better way?

Thanks as always,

Jared

[1130 byte] By [JaredBienz] at [2008-2-15]
# 1

Yes the way you would do multi-modal workflows would be to have factor of host specific logic into services like the ILogin service. The workflow would have to use MethodInvoke/EventSink activities to communicate with these services and can then be independent of the specific host it is running in.

Akash.

AkashSagar at 2007-9-9 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified