PM-1335 the WHEN enum values on_success, on_error, at_end are not present in 5.0.  Always set them to their shorter 5.0 form if specificied.
PM-1335 the WHEN enum values on_success, on_error, at_end are not
present in 5.0.  Always set them to their shorter 5.0 form if specificied.

pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus