Troubleshooting: Background task runs but has no history record

A background task is submitted from a form. It appears to have been submitted without any problems, but no record is created in the Background Task History 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 form.

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