Platform SDK: Exchange Server

Using the Routing Wizard Sample Application

The Routing Wizard sample application illustrates the type of routing tools that can be built easily with Microsoft Exchange Routing. With the Routing Wizard you can define and install simple sequential or parallel routing and approval logic into Microsoft Exchange Server folders.

Once installed, these folders will automatically route any items they receive according to the route you defined. Microsoft Exchange Server then automatically tracks the progress of the item being routed, including handling of items that have expired.

The Routing Wizard works by installing a process map into a Microsoft Exchange Server folder. This process map defines the steps in the route, how time-outs should be handled, and so on. As the Routing Wizard asks a series of questions your answers are used to build and define the process map.

After you enable your chosen folder for routing, the folder uses e-mail to forward anything posted to each defined recipient in turn. Each recipient can review the item being routed and vote to approve or reject the item. If the recipients are using Microsoft Outlook clients, they can use Outlook Voting Buttons to approve or reject the item. With most other mail clients, recipients can click URLs to send their approval or rejection.

Required Permissions

The Routing Wizard helps define and install routing related script code into the chosen Microsoft Exchange Server folder. In order to install a route using the wizard,

  1. You must be the owner of the chosen folder.
  2. You must have been granted permissions to install and run scripts on this Microsoft Exchange Server computer.

Note  If you are the owner if the folder but do not have the install permission, you will still be allowed to define a route, and the wizard will finish normally.  However, the route will not be "activated" until an administrator or someone else with script permission runs the wizard again and saves the route you have defined.  When the route is saved, the routing engine is registered and the routing scripts are installed for the folder.

Warning  The install privilege should be given only to trusted users because it allows people to install new script code on your production e-mail servers. For more information, see Granting Permissions, and also see the Microsoft Exchange Server 5.5 Release Notes for further information on the security implications of scripting privileges.