Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Flow designer vs Scheduled Job

rajeeshraj
Tera Guru

What best-practice guidelines should be used to decide between Flow Designer and a scheduled job—such as transaction volume, payload size, event queue impact, or similar factors?

 

Thanks

2 REPLIES 2

Tanushree Maiti
Tera Sage

Hi @rajeeshraj 

 

It is based on your use cases.

 

Flow Designer is the recommended default for new automation due to its maintainability, auditability, and ease of use,

while Scheduled Jobs (Scheduled Scripts) should be reserved for high-volume, performance-sensitive, or highly complex scripting scenarios.

 

Note : If you have already created a long-running flow, then recommendation is using a Scheduled Script to trigger the flow on demand.

The function below allows you to execute the flow on demand using the “Execute Now” option in the Scheduled Script: 

sn_fd.FlowAPI.startFlow();

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

rajeeshraj
Tera Guru

Thanks, I’m looking for criteria like these. What would be considered high volume when choosing a scheduled job? For example, more than 10k records processed?

Also, how do we define performance in this context? Is it based on the amount of data processed, the complexity of the logic involved, or something else?