Let caller control workflow parameters without having to edit the script.
Added array task protections for lazy callers who don't care if array size aligns with work tasks.