Write CrowdProcess tasks programatically