11-16-2017 3:45 PM
Hello!
wondering if there is a way to schedule the background jobs in a Queue. I have a process which creates number of background jobs and wish to have a it scheduled it in a Queue. is that possible and would it make sense?
11-16-2017 4:19 PM
There is a concept of running jobs in the steps where if you maintain 2 jobs in then only after 1st job finish, 2nd job will run.
I am not sure if you are trying to do the same thing.
11-16-2017 5:12 PM
RSBTONEJOB & RSBTONEJOB2
but you have to create a variant with the name of the job.
that will ensure that only one job with the same name runs at a time, not the job run in the good order
fred
11-16-2017 6:29 PM
The issue with the current custom process , two jobs are created for two different files where an agreement number is duplicated. so job 1 locks the agreement and while job 2 runs it fails as the agreement is locked. I was thinking abt a solution where to force the system to run the jobs in a queue so that the locking can be avoided. I don't want to go with running jobs in steps as this will be messy considering the kind of application I'm working on
11-17-2017 10:56 AM
If you do not want to run the jobs in steps then schedule the second job after certain time(after 1st job) and put a check in the second process to check the lock and if lock is present then wait for sometime.
11-16-2017 5:18 PM
You can also schedule a job start condition to start at a specific time or "after event"
You could create events after each job and schedule it that way.
11-16-2017 6:31 PM
sorry keith. That wont work for me considering my requirement where I need to run the list of created files in a queue. The files are processed via a submit job and hence job steps wont work good for my scenario