Hello All,
Whenever we require to update a record we use Inbound Email Database Operations Business Service, but this BS has a major limitation if there are no records matching the search Specification it throws an error which is not desirable and requires us additional error handling.
Query Using Inbound Email Database Operations,
error returned ,
No record matching the search specification is found.(SBL-CMI-00122)
The Alternative ,
Chat UI Business Service's FindRecord method, this uses the same inputs and does not return any error in case no records are found.
syntax:
Whenever we require to update a record we use Inbound Email Database Operations Business Service, but this BS has a major limitation if there are no records matching the search Specification it throws an error which is not desirable and requires us additional error handling.
Query Using Inbound Email Database Operations,
var sBusService = TheAppliation().GetService("Inbound E-mail Database Operations");
|
error returned ,
No record matching the search specification is found.(SBL-CMI-00122)
The Alternative ,
Chat UI Business Service's FindRecord method, this uses the same inputs and does not return any error in case no records are found.
syntax:
var sBusService = TheAppliation().GetService("Chat UI Business Service");
|