Running Interactive Assignment Using Server Key Mappings

Use server key mappings when you want to split your rules across different servers. You can explicitly define what rule groups to load on what server, and only rules from that particular rule group are executed. At the time of the assignment request, you can specify one of the rule groups as the Assignment Key parameter (AsgnKey) along with the request.

If you use server key mappings, then, when you click the Assign button, a request is sent to the Assignment Manager component to evaluate and return the qualified candidates. To submit requests to a server that has server key mappings, one of the rule group IDs must pass because the AsgnKey parameter must pass. To accomplish this, the SetAsgnKey method is called on the CSSBCBase business component base class. Using a script, a workflow process, or a business service, this method is called and the row ID of one of the rule groups is passed as the parameter.

After this is complete, interactive assignment uses this parameter value as the AsgnKey and ReqKey parameters when submitting requests to the Assignment Manager component. Note that, for one session, you only need to call this method once. Subsequent requests in the same session reuse the rule group row ID. However, when the session is logged out or the server is restarted, you must call this method again to set the AsgnKey parameter. Otherwise, the Assignment Manager reverts to running in default mode.

The following procedure summarizes the steps involved in running interactive assignment using server key mappings.

To run interactive assignment using server key mappings

  1. Use the SetAsgnKey method to set the AsgnKey argument to the row ID of the rule group that you want to use.

  2. Add the rule group record to the Server Key Mappings view.

  3. Add the BusComp user property to the business component being assigned interactively, and set the value of Use Assignment Request Key to TRUE.