this.callBusinessObject(businessObjectName, method, payload, callback, showBusyIndicator, failOnError, failCallback, parametrized)
businessObjectName |
the name of the business object |
method |
name of the script template to be called |
payload |
JSON object with parameters as required by the called script |
callback |
function, which is called after the successful execution of the connector |
showBusyIndicator |
boolean value that indicates whether the screen has to be blocked by a loading bar (true) or not (false) |
failOnError |
boolean value that indicates whether the connector should be called in case of an error of the function passed via “failCallback” (false) or not (true) |
failCallback |
function, which is called in case of an error in the connector, if false “failOnError” is passed |
parametrized |
boolean value that indicates whether the called parameters in the payload according to the rules in the script template are to be verified (true) or not (false). Default false |
With MAKERS CHOICE 25-05 Quality Update 12, the parameter ‘parametrized’ got deprecated and can be disabled in Feature Settings. Please note that deactivating the feature will cause Simplifier to behave as if the parameter is set to ‘true’. Payload parameters that are not defined as input parameters in the Business Object Function will be ignored and set to undefined. All other payload parameters will be validated as configured in the input parameter configuration of the Business Object Function.