[x] use specific states for workflow and step updates
[x] var renamings and comment improvements for improved readability
[x] remove exit-code handling from workflow as workflow have no exit-code
[x] wait for traces client.Update() which updates the step states before client.Done() is called so the workflows steps states are saved before we determine the workflows state from them
closes #2875 closes #833 closes #2062 closes #2911 closes #2197 closes #3848
Changes
client.Update()
which updates the step states beforeclient.Done()
is called so the workflows steps states are saved before we determine the workflows state from them