Add missing error_message variable in workflows

With the new workflow implementation, error_message variable is required, because
we intentionally clone previous workflow history entries when passing transition,
as this leads to smaller pickle size

See merge request !1560
5 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds