• Richard Auger (https://pro2col.com/)

    It's not written to the database, or even in the log of the task that has been called.

    It is however written into the task that makes the call, for example:

    2026-09-09 13:28:07.489: $$ Logging end of task old_task (ID 577051808): Success

    2026-09-09 13:28:07.517: Finished logging task end in DB

    2026-09-09 13:28:07.517: Starting task new_task

    2026-09-09 13:28:07.529: Task "old_task": (ID 577051808) Completed successfully.

     

    If you need to get this information into the log of the new task, simply pass a parameter containing the originating task name when calling the new task. This shows up nicely in the log:

     

    2026-09-09 13:37:50.822: Set debug level to 50; parallel tasks 1

    2026-09-09 13:37:50.823: Task parameters are:

    2026-09-09 13:37:50.823:  caller=old_task

    2026-09-09 13:37:50.823: $$ Logging start of task new_task (ID 356570463) by Via NextTask

    • David Thorne (Customer)

      Thanks for taking the time to answer. Pity it isn't already logging it as it seems like a fairly standard ask to know what started a task.

       

      Will look into adding a parameter to the tasks.

  • Laszlo Koszegi (Customer)

    Not sure if it helps, but use the config file?

    <NextActions>

    <NextAction DoAfter="Task" DoIfFailure="1" DoIfNoAction="1" DoIfSuccess="1" TaskID="XXXXXXX" Type="Task">

    <Parameters/>

    </NextAction>

    </NextActions>

     

    This is in the config file. You just need to search for the task ID. Is it optimal? No, definitely not. but better than nothing...