The CreatorCon Call for Content is officially open! Get started here.

Parallel flow launcher - max flows/max simultaneous

phoang
Kilo Expert

Hi,

Is there a way to set the max flows and max simultaneous values to unlimited in a parallel flow launcher?   Would it be to just leave them empty?   The wiki wasn't too clear on this.

Thanks!

2 REPLIES 2

nishailame
ServiceNow Employee
ServiceNow Employee

Hi Phuong,




Max flows


The maximum number of workflows this activity can launch. If this value is a positive integer, it overrides the max parameter used in the WorkflowCoordinator constructor.
Max simultaneousThe maximum number of parallel workflows this activity can run at one time. If this value is a positive integer, it overrides the pool size parameter used in the WorkflowCoordinator constructor.


ByDefault -



Max: 25


Max Simultaneous: 5


poolsize: 10



If not specified by an inputs set, 'Count' determines how many subflows will be executed from this activity.



'Max flows' specifies the maximum number of parallel workflows this activity is expected to launch.



If 'Max simultaneous' is specified, workflows will be launched in batches of this size.



For example, if 'Count' is 20 and 'Max Simultaneous' is 10, 10 subflows will run at one time. As those subflows return, more will be launched until a total of 20 subflows have launched.





 


Thanks.


PS: Hit like, Helpful, Correct and Endorse, if it answers your question.


Hi Nisha,



I saw that in the wiki but we will not sure how many subflows there could be.   There could be 20 at times and 100 or more at times.   There is no definite number and I would like all of them to be launched/created at once, not after a set number in the max simultaneous.   So I want it to be unlimited.   How is that done?