TMDM-7554: "launch workflow directly return process done ,not generate any workflow task."

Reverts commits for TMDM-7192 (wrongly committed on master).
(https://jira.talendforge.org/browse/TMDM-7554)