Data360 Analyze

 View Only
  • 1.  Enable/disable send mail node.- Runtime Parameter

    Employee
    Posted 07-05-2021 00:29

    Hi Team,

    Is there any way I can enable or disable send mail node through runtime parameter. For an example if I make true then only it should execute the send mail node and if I make is false it should not trigger any mail.

    Regards,

    Jagdev



  • 2.  RE: Enable/disable send mail node.- Runtime Parameter

    Employee
    Posted 07-06-2021 01:38

    You cannot use Run properties (directly or indirectly) to enable/disable a node. However, you could configure the Send Email node to obtain it's MessageBody property value from an input field:

    and configure an upstream Transform node to only output a record when the value of the Run property is set to the relevant value:

    When the comparison is set to fail, zero records are output and the Send Email node will still run, but it will not send an email