6 years ago
#10205
::
Hello dcyborra,
You have to use a promise.
For Example:
try {
return new Promise(function (resolve, reject) {
var boSuccess = function(result) {
resolve({outputParam: result});
};
var boFail = function(result) {
reject({outputParam: result});
};
Simplifier.BusinessObject.test_m002.getSomeListData({}, boSuccess, true, false, boFail);
});
} catch (e) {
throw e;
}