fetchTopCategories

Get a list of all available categories and, for each top-level category, the business actions in that category.

You can use fetchChildCategories to obtain the list of available business actions in each child category.

Required System Actions

listBusinessServices

Usage

BPMBusinessActionsService.fetchTopCategories(BusinessActionsServiceModel,callback)

Parameters

Parameter Type Description
BusinessActionsServiceModel BusinessActionsServiceModel object Data model to be used by the service request. The response populates:
  • BusinessActionsServiceModel.actionsCount with the total number of available business actions.
  • BusinessActionsServiceModel.actionGroups with the details of the available categories.
    Note: BusinessActionsServiceModel.actionGroups is an array of objects that maps each category (Category) to its actions (BusinessServiceTemplate).
callback Function Callback function to handle success or failure results from the request.