Conditionally attaching a file to an email reporter

Registered Posts: 198 ✭✭✭✭✭✭

Hi,

We attach the final dataset to a scenario email reporter when it is complete. The issue is that when the scenario fails, we want to send the email with no attachment. When the scenario passes, we want to attach the Excel file. How can this be done?

thx

Operating system used: WIndows 10

Best Answer

  • Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,418 Neuron
    edited December 2024 Answer ✓

    Scenario steps and scenario reporters can both be set to execute conditionally. So create different Scenario steps or scenario reporters for each of the desired outputs. In other words have a different scenario reporter without an attachment to run when the scenario fails.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.