Business Rules API

The Business Rules APIs expose functionality to request the execution of an approval matrix or a decision matrix. These APIs can only execute matrices that have been created and approved in the Business Rules UI in ION. These APIs are located in the “Infor ION” API suite in the “businessrules” endpoint.

Note: 
  • Only the matrices that are approved can be listed and executed through the Business Rules API.
  • The latest version of the matrix is used for each API call.
  • To execute a matrix, values are required for the matrix input parameters. The execution of a matrix returns the same results as the Simulation operation in the Business Rules UI. For example, the results of an approval matrix execution could be a list with distributions to the same user, displayed several times. The application that calls the API decides how to handle the approval chain. For example, the application can perform one of these actions:
    • Merge duplicate distributions and send tasks one after the other, as in the workflow task chain in ION.
    • Simultaneously send parallel tasks to all users in the resulting list.
  • The result of an approval matrix execution is a list with distributions to users. These users are represented by the IFS Person ID, Group Names, and ManagerOf properties from Infor Ming.le User Management. To retrieve the other relevant properties of these distribution elements, the application that calls the API must be integrated with Infor Ming.le User Management.
  • The result of a decision matrix execution is a list of values for the output parameters from the matrix definition. The values from the first row that matched the matrix conditions, which are evaluated for the values provided for the matrix input parameters, are returned. For detailed information about the methods that are exposed in this endpoint, see the Swagger documentation.

For more information on using APIs and interacting with Swagger documentation for the API methods, see the Infor ION API Administration Guide.