Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

List all background job executed by hang-fire with tenant filter #9494


User avatar
0
SRTMDEV created

Hi, ANZ Team,

I would like to create api to get list of all the jobs with current tenant login where job should only in list if that run for the current tenant . I want to fetch that list in angular side via api and display the status of job and job History. I am able to add tenantId in job by setjobparameter in hangfire with filtercontext.

How can I achive this goal with Hangfire or BackgroundJobManager? Any suggestion? Or any example with tenant filtered background Job.

Thanks.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @SRTMDEV

    Sorry for our late reply but we don't have experience on this. You can check Hangfire's documentation.