Workflow selection user exit

The Business Rules Server supports an optional user exit that is called on the initialize message. This user exit has the following entry points:
init ()
The initiate method is called when the user exit is loaded. This happens when the server receives the initialize message and before it reads any data fields from the client.
setWorkflowName (decisionRequest, workflowName)
This method is called next. The Business Rules Server has ingested the incoming data fields into the DecisionRequest and has obtained the workflow name from the client. Both of these are passed to the setWorkflowName routine where the user exit can optionally change the workflow to be used.
term ()
The terminate method is called when the terminate message is received from the client.
Only the setWorkflowName entry point is required.
To install the user exit, set the clientControlUserExit property to the name of the user exit. For example:
clientControlUserExit = SampleClientControlUserExit