The PerformContext contains the current job id. If you like to get the parental job id, you should provide this value as an argument to your continuation method. More details can be found in this answer: Get the (ID of the) parent job by the (ID of the) current job - #2 by Oliver
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Get the (ID of the) parent job by the (ID of the) current job | 1 | 1122 | May 8, 2024 | |
How to get jobid within job? | 8 | 40454 | August 11, 2023 | |
How could I gain access to the current job ID / context from anywhere | 0 | 1157 | October 8, 2017 | |
How to get current JobId | 2 | 8819 | January 28, 2016 | |
Use Hangfire job id in the code | 6 | 32968 | July 21, 2017 |