Conditionally attaching a file to an email reporter

info-rchitect
info-rchitect Registered Posts: 189 ✭✭✭✭✭✭

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

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,160 Neuron
    edited December 2 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.

Setup Info
    Tags
      Help me…