overrideBusinessServices

This method defines the list of business services that are available to a user when starting a business service. This function is called once while initializing the list of available business services.

A list of all available business services is provided as input to this method. The method may be customized to output an altered list by removing specific business services, making them unavailable for selection.

Syntax

classProto.overrideBusinessServices = function(oValue, oContext)

Parameters

  • oValue - (Object) An object containing the available business services:
    • oValue.availableServices[] - (Array of objects) Each object has the following properties that identify an available business service:
    • processName - (string read-only) Name of the business service.
    • version - (string read-only) Version of the business service.
  • oContext - (Object) An object that provides information about the list being modified with the following properties:
    • oContext.userName - (string read-only) The name of the logged-in user.
    • oContext.userGuid - (string read-only) A unique identifier of the logged-in user.

Returns

The modified oValue object, or null if no changes are to be made.