Scheduled task application log scheduled_task key not set

Hi,

In the architect I have created a process, this process also creates a record in the application log.

The process is activated by a scheduled task.

The application log table has a foreign key ‘scheduled task’ that is (I assume) set when the scheduled task is running and the application log record is created.

In my case this foreign key is empty when the task is run.

What do I need to do to set this?