Make worker activities mandatory on Workers processes
https://redmine.teklia.com/issues/8918
- Remove the
worker_activity
field fromStartProcess
, and replace it with aHiddenField
namedactivity_state
that defaults toActivityState.Pending
, so that worker activities are always marked as pending when creating processes with this endpoint. - Update the
StartProcess
unit tests so that they properly mockinitialize_activity.delay
. - Make sure at least one test is still sending
"worker_activity": False
, and that it has no effect at all; worker activities will still be used.