VMware Cloud Community
knjb
Contributor
Contributor

Get workflow context from default error handling

Hi,

we have a default error handling workflow for all our major orchestrator workflows.

This error handling workflow is used to gather as much data as possible (e.g. business state, input parameters, workflow name) from the workflow run.

Especially in larger workflows with multiple sub workflows we have problems identifying the workflow context/chain (which workflows started which sub workflow, that started another sub workflow…).

If a sub workflow (e.g. execute ssh command) is called multiple times in a main workflow, we have problems identifying which ssh command caused the problem.

As a workaround we check the last entries of the log output to get information about the context.

For debugging it would be really helpful to get information about the last sub workflow that was running (e.g. input parameters, attributes and parent workflows).

We did not find any solution to get information about the earlier context (before error handling) of a workflow.

Is there a possibility to get such information?

Thanks and regards,

Julian

0 Kudos
0 Replies