2023 Oct 11 4:41 PM
Hi experts,
If an update task was called and then COMMIT WORK AND WAIT.
Is the update task running in current process or in another update process?
Regards,
Eric
Hi experts,
If an update task was called and then COMMIT WORK AND WAIT.
Is the update task running in current process or in another update process?
Regards,
Eric
2023 Oct 11 5:21 PM
It depends, did you call SET UPDATE TASK LOCAL before (no crystal ball available)
2023 Oct 12 2:56 AM
I think there is just COMMIT WORK AND WAIT. But in call stack, you can see a LOCAL_UPDATE_TASK, looks like it's a form in COMMIT WORK AND WAIT (if you switch on system debug).
2023 Oct 12 6:20 AM
2023 Oct 12 6:31 AM
phoenixming0912 You should verify. Add a breakpoint at SET UPDATE TASK LOCAL early in the execution.
Local update task may also be activated via "call transaction using" with option updmode = 'L'.
2023 Oct 11 6:49 PM
2023 Oct 11 6:51 PM
"update task was called" is not very clear, I guess you mean "CALL FUNCTION ... IN UPDATE TASK ... was done".