Wednesday, 4 June 2025

Call a service operation class from code and pass a parameter

 

  1. SysOperationServiceController controller = new SysOperationServiceController(
  2. classStr(YourClass),
  3. methodStr(YourClass, YourMethod),
  4. SysOperationExecutionMode::Synchronous);
  5.  
  6. contract = controller.getDataContractObject();
  7. contract.parmWhatever(Whatever);
  8.  
  9. controller.startOperation();

No comments:

Post a Comment