Shamma Negi
Kilo Sage
Kilo Sage

Hi All,

 

Today we will cover about the Flow Priority.

When to set the low, medium vs high priority.

 

Most Important Key points on Flow Priority

Flow priority only runs on the execution of flows which is running at the background which any trigger conditions

 

1. What is the default priority for Flows?

Answer: The default priority is "Medium". Even if you don't select it goes to "Medium" Priority.

 

2. Where should we go and set the priority of the Flow?

Answer: For New flow, you can go to create a new Flow and click on "show additional properties" and then set the priority from the drop down.

 

For existing flow, go to properties and then you can change the priority from the drop down.

 

3. When should I set the Flow Priority to High?

Answer: When there are multiple low/medium priority flow on the same condiiton and you want one of the flows should run first and then rest should run then change one of the flow priorities to "High" in order to make it run first.

 

As "When there's a large list of tasks, low-priority flows are typically delayed until high-priority flows have been executed. After high-priority flows are completed, worker threads proceed to handle the lower-priority flows."

 

Real time example would be you want to process and set some values on the current form based on some conditional parameters in the flows and then trigger another process altogether.

 

3. Should we change all Flows priority to High? If yes then what is the impact on system performance?

Answer: Answer is "No". We shouldn't change all Flow's priority to High. Doing so will impact the system process of using the High/Med/Low priority in the worker thread.

 

Always use a mix of all priority based on the mixture system runs the process. Picks the high priority first and then Med and then Low. While running the high priority it lets the low priority flows to wait in queue.

 

Follow for more such detailed analysis on Flow Designer.

 

Hope it helps you.

Please mark it helpful if it helps you in any way.

 

Thanks,

Shamma Negi