Improved Start Workflows

Improved Start Workflows

I'm uploading this for review from my peers.  It is a replacement for the stock workflows that run a specified workflow multiple times in either series or parallel.  This enhancement also relies upon a workflow from the "Guest Script Manager" package that I know many use and I have also begun contributing to.  The workflow in question is the 'Improved Sleep" workflow.  I've added the following features/tweaks:

** Use this workflow for serial or parallel operations (just set concurrency to 1 for serial operations)

** Stagger workflow executions by any number of seconds

** Set the completion checks to suit the workflow being run.

** More meaningful logging. Less spammy.

** Set concurrency cap for parallel executions

** Implemented improved sleep for wait states

I found I needed extra control over the parallel execution.  Some systems in our environment are quite sensitive it seems so even though I want to run the workflows in parallel I need to stagger each execution by a couple of seconds.  I also run into concurrency issues where a few at a time run great but once you go past a sweet spot things fail or take an extremely long time to process.  I've added control for how often the workflow completion check executes and also abbreviated what gets logged instead of repeatedly logging the state of each running workflow.

Hopefully some of you find this useful.  I sure do.

Paul

Attachments
Version history
Revision #:
1 of 1
Last update:
‎01-04-2016 04:32 PM
Updated by: