Message 1 of 6
Search in Jobqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
is there a better way to find a Job of file in the Jobqueu. At the moment i use the somthing like this to find out if a Job for a file exist.
var dateiname = vaultDocument.File.Name.ToUpper();
var jobs = settingParameter.ConnectionManager.VaultConnection.WebServiceManager.JobService.GetJobsByDate(100000, DateTime.Today.AddDays(-100));
if (jobs != null && jobs.Any())
return jobs.All(job => !job.Descr.ToUpper().Contains(dateiname));
return true;
With this kind of search i can get more than i want or nothing if the FileName is not part of the Description. Does anyone know a better solution?
Thanks for any support.
regards
Gerhard