You can configure the number and delay behavior for retrieving next activity instances.
In your carnot.properties file, residing in in the
Indicates if the Portal should automatically launch follow up activities when the current activity instance gets completed. If this property is set to true and after completion of the current activity no synchronous activities could be started, it will attempt to find the next activity instance to activate by using a separate request to the engine. The default value is true.
The number of poll attempts when no synchronous follow up
activity instance is available for launching. The default value is 3.
In case you want to to only automatically launch synchronous follow up activity instances, set this property to 0.
Specifies the time in milliseconds consecutive poll attempts are delayed. The default value is 100.