I am logging the execution errors in an alert with Slack.
With the error handler, I send an alert to slack stating the
Scenario Name
Scenario URL
And Execution ID
That way i can go to the execution that has the failing bundle.
Example:
Scenario: {{var.scenario.name}}
Run ID: <{{var.scenario.url}}/logs/{{var.scenario.executionId}}|{{var.scenario.executionId}}>
But in some scenarios with more than 1 cycle, and many branches and complicated algorithm its quite difficult to find the slack module that actually send the alert.
Is there a way to access the “cycle number” and/or “module number/name” that got the error.
So we could do something like:
Scenario: {{var.scenario.name}}
Run ID: <{{var.scenario.url}}/logs/{{var.scenario.executionId}}|{{var.scenario.executionId}}>
Cycle: {{var.scenario.cycle}}
Module: {{var.scenario.module}}
Thanks in advance