Thread Processing Completion Signal
Once the processing is completed the child threads must signal it to the main thread, so the main thread is able to finish the polling loop and continue its execution by collecting messages from each child thread to a consolidated message, that will be written to }APQ Process Response Message
cube. The child thread must formulate message as part of the thread processing completion signal. All of above actions need to be implemented in epilog of the TI process.
The signal and final message are written asynchronously by running process }APQ.Cub.ProcessResponseMessage.ImmediateLog
by means of RunProcess
command to isolate commit action from the child thread. This is necessary in case of errors as the child will rollback all data changes and thus both the signal and the message would be lost.