Workflow and ServiceDesk Community

 View Only

"Throttle" concept in Symantec Workflow 

Jul 25, 2012 03:41 PM

The attached .zip (rename as a .package to open) demonstrates the "throttle" concept in Workflow.

The concept of a throttle in Workflow is basically to slow things down in a tight loop to give other external processing a chance to "catch up".

The flow starts off by declaring a 15-long array and our throttle variable, an integer initially set to 1. Our plan is to pause for 5 seconds for every 5 elements we advance in the array. Inside the loop, we use a "demo" component to represent our processing. Immediately afterwards, we check if our throttle variable is greater than or equal to 5. If less than 5, we increment throttle by 1. If greater than or equal to 5, we pause for 5 seconds, then we decement throttle all the way back down to 1 to start anew.

Hopefully this helps Workflow users of all skill levels to help slow things down a bit where needed.

 

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
DecisionProject2.zip   1.23 MB   1 version
Uploaded - Mar 16, 2020

Tags and Keywords

Related Entries and Links

No Related Resource entered.