Background task runs but has no history record

This topic describes what to do when a background task runs but has no history record.
Note: This topic applies to only on-premises environments.

A background task is submitted from a SyteLine form. It appears to have been submitted without any problems, but no record is created in the form. The BGTaskHistory record is created by a trigger on the ActiveBGTasks table. ActiveBGTasks is the queue of tasks submitted to TaskMan. So, if there is no history record, the task never made it to the queue, despite any messages that might have displayed on the Background Task HistorySyteLine form.

This is probably a bug in the sequence of form events the SyteLine form used to submit the task.