✏️ Explanatory Question

Why do we use SysOperationExecutionMode::Synchronous in the controller?

👁 0 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

It specifies that the operation should run immediately in the client session (not as a batch job).
Example:


new ANSARIBalanceSheetReconController(classStr(TestServiceClass),
    methodStr(TestServiceClass, processOperation),
    SysOperationExecutionMode::Synchronous);