Hi,
i try to get the status of my reccuring Jobs.
I noticed that when you run a job via the trigger now.
The RecurringJobDto object was not updated. It means that it contains information that is in error compared to the last execution.
Is this a bug?
sample code :
foreach (var recurringJobDto in recurringJobsDto)
{
{
var jobState = conn.GetStateData(recurringJobDto.LastJobId);
if (jobState != null)
{
if (jobState.Name == “Succeeded”)
{
…
}
if (jobState.Name == “Processing”)
{
…
}
}
}
}