How to synchronously invoke a Business Operation from a classMethod without using a business service
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.
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
Product version: HealthShare 2016.1
$ZV: Cache for Windows (x86-64) 2016.1 (Build 656U) Fri Mar 11 2016 17:42:42 EST [HealthShare Modules:Core:14.02.2415 + Linkage Engine:14.02.2415 + Patient Index:14.02.2415 + Clinical Viewer:14.02.2415 + Active Analytics:14.02.2415]
Why don't you want to create a Business Service?