Which is the best approach Scheduled workflow or scheduled jobs

Rishi32
Tera Contributor

Hi All,

We have a requirement, that parent incident and child incidents(2) has to insert automatically into the system. this is achievable through workflow(it will run using scheduled workflow at defined time) and scheduled jobs, which is the better approach, could you please suggest.

Regards

Rishi 

3 REPLIES 3

DanielCordick
Mega Patron
Mega Patron

Not sure if your meaning legacy workflow or flow designer but A scheduled flow would be a lot easier to maintain than a scheduled job.

A flow is easy enough for a no code/ low code user to maintain. I would go with a scheduled flow just for this reason, less maintenance on your end

 

Please mark helpful or correct 🙂

Anshu_Anand_
Kilo Sage
Kilo Sage

Hi,

Workflow or scheduled job whichever approach you choose, it depends on the run time and amount of data which will be executed.

If you are running scheduled job/flow at business hours ,and scheduled  job is big, it will take longer time and also slows down the instance performance.

If you run on weekends during off business hours at a time where there are no custom big jobs are running,

it would be a good thing.

 

If you want that scheduled job trigger on based of condition, use flow designer .

But if you already written a workflow in workflow editor, use schedule workflow .

 

Hope this is helpful

Regards,
Anshu

OlaN
Giga Sage
Giga Sage

Hi,

Watch this informative video by @Robert Fedoruk to get a clear picture of the pros and cons on Flow designer vs Scheduled jobs.

Personally I always try Flow designer first.