Hello,
I am trying to find out if it is possible to invoke a Business Operation from a class method without using a Business Service.
I have the following code but was wondering if it can be done without using a Service.
s tService = ##class(Ens.Director).CreateBusinessService("Business Service Name",.service)
d service.SendRequestSync("targetBusinessOperation",request,.response)
I tried creating an instance of Ens.BusinessOperation and then call SendRequestSync but that didn't seem to work.
Any better ideas anyone?
Thanks in advance.
Utsavi
8,399.png)

.png)


